help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: [External] : Re: Strange whitespaces.


From: Drew Adams
Subject: RE: [External] : Re: Strange whitespaces.
Date: Thu, 30 Sep 2021 17:03:42 +0000

> > All the more need for an ability to highlight or
> > not highlight individually.
> 
> That'd be a different feature.  This feature is for making sure the
> user is aware of unusual characters that might display as something
> innocent.  If someone wants a different feature, they should turn this
> special display off, and program whatever they want instead.

Yes, exactly.  Both features are useful.
And yes, to use the one I mentioned (which
vanilla Emacs lacks) you have to turn off the
hard-coded highlighting of no-break chars.

>From the commentary of `highlight-chars.el':

 Using `highlight-chars.el' to highlight hard space
 and hyphen chars requires turning off their default
 highlighting provided by vanilla Emacs, that is,
 setting `nobreak-char-display' to nil.  This is
 done automatically by the functions defined here.
 When you turn off this font-lock highlighting, the
 vanilla Emacs highlighting is automatically restored.



reply via email to

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