[Top][All Lists]

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

Re: Strange whitespaces.

From: Emanuel Berg
Subject: Re: Strange whitespaces.
Date: Thu, 30 Sep 2021 17:41:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hongyi Zhao wrote:

>>> name: NO-BREAK SPACE
>>> old-name: NON-BREAKING SPACE
>> This is to prevent an auto line break.
>> <>
>>> name: EN SPACE
>> "A space which has a nominal width of 1 en".
>> <>
> Why are both displayed as red underscores in Emacs?

Maybe there is no better way to display them in your setup?

As for the red color, use this

(defun what-face (pos)
  (interactive "d")
  (let ((face (or (get-char-property pos 'face)
                  (get-char-property pos 'read-cf-name) )))
    (message (format "%s" (or face "no face!"))) ))

What does it say?

PS. Suggestion: add that to vanilla Emacs if it isn't there!
underground experts united

reply via email to

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