[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.
- Re: Strange whitespaces., (continued)
- Re: Strange whitespaces., Emanuel Berg, 2021/09/30
- Re: Strange whitespaces., Hongyi Zhao, 2021/09/30
- Re: [External] : Re: Strange whitespaces., tomas, 2021/09/30
- Re: [External] : Re: Strange whitespaces., Eli Zaretskii, 2021/09/30
- RE: [External] : Re: Strange whitespaces., Drew Adams, 2021/09/30
- Re: [External] : Re: Strange whitespaces., Eli Zaretskii, 2021/09/30
- RE: [External] : Re: Strange whitespaces.,
Drew Adams <=
- Re: [External] : Re: Strange whitespaces., Hongyi Zhao, 2021/09/30
- Re: [External] : Re: Strange whitespaces., Emanuel Berg, 2021/09/30
- Re: Strange whitespaces., Emanuel Berg, 2021/09/30
- Re: Strange whitespaces., Hongyi Zhao, 2021/09/30
- Re: Strange whitespaces., Emanuel Berg, 2021/09/30