unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <pascal.quesseveur@free.fr>, <help-gnu-emacs@gnu.org>
Subject: RE: Display of no break spaces
Date: Thu, 3 Jan 2013 08:00:31 -0800	[thread overview]
Message-ID: <FF671A9CD29E4482947EFD6DDCCD4E8A@us.oracle.com> (raw)
In-Reply-To: <8638yipftx.fsf@free.fr>

> 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	other threads:[~2013-01-03 16:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03 13:16 Display of no break spaces Pascal Quesseveur
2013-01-03 16:00 ` Drew Adams [this message]
2013-01-03 16:22 ` Peter Dyballa
     [not found] ` <mailman.16607.1357230183.855.help-gnu-emacs@gnu.org>
2013-01-03 17:19   ` Pascal Quesseveur

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=FF671A9CD29E4482947EFD6DDCCD4E8A@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pascal.quesseveur@free.fr \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).