[Top][All Lists]

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

Re: non-break-space in tutorial

From: Kim F. Storm
Subject: Re: non-break-space in tutorial
Date: Wed, 08 Jun 2005 10:35:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I'm sure there is no single way to please everybody:

(setq show-nobreak-space 'escape) => the Miles way
(setq show-nobreak-space t)       => the Juri way

Here is a generic approach (similar to using a display table,
but without the overhead):

(setq show-nobreak-space STRING)  => show STRING for NBSP.

Value of STRING can cover both Miles and Juri style:

(propertize "\\ " 'face 'escape) => the Miles way
(propertize " " 'face 'underline) => the Juri way

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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