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: Mon, 26 Oct 2020 09:55:59 -0700 (PDT)

> But what is the purpose of showing this character like we do with
> NBSP?  We do that with NBSP because otherwise it will be easy to
> interpret NBSP as a SPC: they have the same width and appearance on
> display.  By contrast, U+202F NARROW NO-BREAK SPACE is much thinner,
> and cannot be mistaken to be SPC.
> 
> OTOH, if we make U+202F stand out, then why not others, for example
> U+2007? or U+2060? or U+2002? or U+2003? or U+2009 etc.
> 
> IOW, we need to decide on the rationale for displaying these
> specially, and then we can decide which ones should have this applied.

I agree, both (1) that the main purpose of the current highlighting is to make 
no-break (aka hard) space stand out from ordinary space, and (2) that any 
additional highlighting needs a rationale.
___

FWIW -

My library highlight-chars.el lets you highlight particular chars in different 
ways, au choix.  And in particular, you can highlight just hard spaces or just 
hard hyphens (they need not be treated the same way).

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





reply via email to

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