all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.