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

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

bug#44236: [PATCH] xdisp: Apply nobreak-char-display also to NARROW NO-B


From: Drew Adams
Subject: bug#44236: [PATCH] xdisp: Apply nobreak-char-display also to NARROW NO-BREAK SPACE U+202F
Date: Sun, 1 Nov 2020 14:43:32 -0800 (PST)

> Alternatively, if this new feature is so annoying, and people are
> unwilling to customize their Emacs to get the old behavior back, maybe
> we should make nobreak-char-display more than just a simple boolean,
> so that people could control which characters are and aren't
> emphasized?

(Not speaking to how annoying anything might be, here.)

`nobreak-char-display' is what it is.  It can't be
expected to do more than it does, IMO.  Its aim is
to highlight non-ASCII chars that look similar to
ASCII space and hyphen.

That's already too much, IMO.  I've said before that
it's a weakness that users can't separate those two
(highlighting look-alikes for SPC and hyphen).  They
shouldn't be hard-coupled together (IMO).

And I mentioned my library `highlight-chars.el',
which lets you highlight different sets of chars.
And code can control that.  It sounds like that's
maybe what's being looked for here: highlight certain
chars in certain contexts (not just everywhere).
___

Description:

https://www.emacswiki.org/emacs/ShowWhiteSpace#HighlightChars

Code:

https://www.emacswiki.org/emacs/download/highlight-chars.el





reply via email to

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