all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Emanuel Berg <moasenwood@zoho.eu>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Strange whitespaces.
Date: Fri, 1 Oct 2021 09:45:41 +0800	[thread overview]
Message-ID: <CAGP6POK02dSbaLihHrSfufh1g8_ft5ifFMmi6bDww5=31nMPEg@mail.gmail.com> (raw)
In-Reply-To: <87zgrujcjm.fsf@zoho.eu>

On Fri, Oct 1, 2021 at 12:04 AM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> Hongyi Zhao wrote:
>
> >>> name: NO-BREAK SPACE
> >>> old-name: NON-BREAKING SPACE
> >>
> >> This is to prevent an auto line break.
> >> <https://en.wikipedia.org/wiki/Non-breaking_space>
> >>
> >>> name: EN SPACE
> >>
> >> "A space which has a nominal width of 1 en".
> >> <https://en.wiktionary.org/wiki/en_space>
> >
> > 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!

I added the above code snippet into my `~/.emacs.d/init.el', and
checking the discussed here by `M-x what-face' with point on them, but
just see the following message minibuffer:

no face!

HZ



  reply	other threads:[~2021-10-01  1:45 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  9:37 Strange whitespaces Hongyi Zhao
2021-09-30  9:56 ` Gregory Heytings
2021-09-30 10:11   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30 10:19     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30 13:44       ` Hongyi Zhao
2021-09-30 15:39         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30 10:08 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30 13:53   ` Hongyi Zhao
2021-09-30 15:20     ` [External] : " Drew Adams
2021-09-30 15:46       ` Hongyi Zhao
2021-09-30 16:26         ` Drew Adams
2021-09-30 16:06       ` tomas
2021-09-30 16:12       ` Eli Zaretskii
2021-09-30 16:32         ` Drew Adams
2021-09-30 16:45           ` Eli Zaretskii
2021-09-30 17:03             ` Drew Adams
2021-10-01  1:51         ` Hongyi Zhao
2021-10-01  2:03           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-01  6:34           ` Eli Zaretskii
2021-10-01  7:26             ` Hongyi Zhao
2021-10-01  7:56               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-01 10:10                 ` Hongyi Zhao
2021-10-01 10:24                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30 15:41     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-01  1:45       ` Hongyi Zhao [this message]
2021-10-01  1:56         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-01 10:15       ` Eric S Fraga
2021-10-01 10:28         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-01 10:57           ` Eric S Fraga
2021-10-01 11:18             ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-01 12:20             ` Yuri Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGP6POK02dSbaLihHrSfufh1g8_ft5ifFMmi6bDww5=31nMPEg@mail.gmail.com' \
    --to=hongyi.zhao@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.