help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Display of no break spaces


From: Drew Adams
Subject: RE: Display of no break spaces
Date: Thu, 3 Jan 2013 08:00:31 -0800

> I don't understand the mechanism used to display no break
> spaces. The character is displayed as a big box with what looks
> like small numbers inside.

That means it is a character that your current font cannot display as the
character itself.  The display indicates its Unicode code.

> I don't understand why the no break space is displayed using link
> face.  What can I do to change the way it is displayed?

When `nobreak-char-display' is non-nil, Emacs shows nobreak spaces using face
`nobreak-space', which inherits from face `escape-glyph'.

Dunno why it says it uses face `link' - perhaps something else is also kicking
in here (e.g. it is part of a link).

Option `nobreak-char-display' turns highlighting on/off for both nobreak spaces
and nobreak hyphens - they are inseparable wrt this highlighting.

For better control over highlighting of these (and any other) characters, try
library `highlight-chars.el'.

overview: http://emacswiki.org/emacs/ShowWhiteSpace#HighlightChars
code: http://www.emacswiki.org/emacs-en/download/highlight-chars.el




reply via email to

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