Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: nobreak-space totally gone
Date: Thu, 10 Sep 2009 09:43:32 -0500	[thread overview]
Message-ID: <87iqfq97xn.fsf@lifelogs.com> (raw)
In-Reply-To: <b4mws47rpng.fsf@jpl.org>

On Thu, 10 Sep 2009 20:43:31 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote: 

>>>>>> Katsumi Yamaoka wrote:
>> Here's a workaround:

>> (add-hook 'gnus-article-mode-hook
>> (lambda ()
>> ;; Gnus sets it to nil in the article buffer locally.
>> (setq nobreak-char-display t)))
KY> [...]
>>> x:-sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1 (#xA0)
KY> [...]
>> Maybe it's a font problem; i.e., the cause might be that Sony's
>> old font doesn't have NBSP.  (I use exactly the same font.)

KY> Another solution:

KY> (set-fontset-font "-Fontset-Name-" '(160 . 160) "-Font-Spec-")

KY> It makes Emacs use the font "-Font-Spec-" for only NBSP in
KY> the fontset "-Fontset-Name-".  I use:

KY> (set-fontset-font
KY>  (face-attribute 'default :fontset)
KY>  '(160 . 160)
KY>  "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-iso8859-2")

KY> And Emacs actually uses the font:

KY> "-etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-2"

Maybe there's a way to say "if the current font doesn't show NBSP, turn
nobreak-char-display on"?

Ted




      reply	other threads:[~2009-09-10 14:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87vdjw72i7.fsf@jidanni.org>
2009-09-06 11:17 ` jidanni
2009-09-07 13:34   ` Dan Christensen
2009-09-13 15:26     ` jidanni
2009-09-10  8:31   ` Katsumi Yamaoka
2009-09-10 11:43     ` Katsumi Yamaoka
2009-09-10 14:43       ` Ted Zlatanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iqfq97xn.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).