emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: non-break-space in tutorial


From: Stefan Monnier
Subject: Re: non-break-space in tutorial
Date: Mon, 06 Jun 2005 10:07:31 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> After a testing period (say, 1 week) I could remove the variable
> `show-non-break'.  There seems to be no need for this variable since
> highlighting can be disabled by inheriting `no-break-space' face
> from the default face.

When displaying text where NBSP are a completely normal occurrence
(e.g. email), there should be no special highlighting whatsoever, but
inheriting from the default face won't do that because it removes the
hilighting globally (also, inheriting from default is probably not what you
want to do, instead you want to set all fields to nil).

I.e. as long as we don't have buffer-local face-specs show-non-break
is necessary.

> PS: I also changed NBSP with space in remaining tutorial files.
> This shows that accidentally typed NBSP is quite a common case.

AFAICT, the NBSP in the French tutorial were not accidental.


        Stefan


PS: Hopefully you've replaced the uses of show-nonbreak-escape with uses of
show-non-break.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]