> 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
The display-table allows you to do just that, even more flexibly.
> Here is a generic approach (similar to using a display table,
> but without the overhead):
What overhead? Just for the record, could all you people check the value of
`standard-display-table' in your current Emacs session? My bet is that most
of you have it non-nil already.
> (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
There's still the problem that we currently only handle latin-1 NBSP but not
latin-2 NBSP, latin-3 NBSP, ...
Stefan
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel