unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: pascal.quesseveur@free.fr
Cc: help-gnu-emacs@gnu.org
Subject: Re: Display of no break spaces
Date: Thu, 3 Jan 2013 17:22:54 +0100	[thread overview]
Message-ID: <2AEABB95-6671-40F3-9025-B1C48D9B74EF@Web.DE> (raw)
In-Reply-To: <8638yipftx.fsf@free.fr>


Am 03.01.2013 um 14:16 schrieb Pascal Quesseveur:

> I don't understand why the no break space is displayed using link
> face.

Because it's fontified with that property.

> What can I do to change the way it is displayed?

Use a plain text buffer to get rid of fontification or switch that off (launch GNU Emacs with -Q)! You can also switch to a font that has U+00A0 defined or create a fontset in which this character is defined as coming from a font with NO-BREAK SPACE.

I get, for example, in X11:

	             position: 206 of 6832 (3%), column: 0
	            character:   (displayed as  ) (codepoint 160, #o240, #xa0)
	    preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1))
	code point in charset: 0xA0
	               syntax: . 	which means: punctuation
	             category: .:Base, b:Arabic, j:Japanese, l:Latin
	          buffer code: #xC2 #xA0
	            file code: #xA0 (encoded by coding system iso-latin-1-unix)
	              display: by this font (glyph code)
	    xft:-b&h-Lucida Sans Typewriter-normal-normal-normal-*-10-*-*-*-m-0-iso10646-1 (#xAC)
	       hardcoded face: nobreak-space
	
	Character code properties: customize what to show
	  name: NO-BREAK SPACE
	  old-name: NON-BREAKING SPACE
	  general-category: Zs (Separator, Space)
	  decomposition: (noBreak 32) (noBreak ' ')
	
	There are text properties here:
	  charset              iso-8859-1


--
Greetings

  Pete

You can learn many things from children.  How much patience you have, for instance.
				– Franklin P. Jones




  parent reply	other threads:[~2013-01-03 16:22 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
2013-01-03 16:22 ` Peter Dyballa [this message]
     [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=2AEABB95-6671-40F3-9025-B1C48D9B74EF@Web.DE \
    --to=peter_dyballa@web.de \
    --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).