emacs-devel
[Top][All Lists]
Advanced

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

Re: Display of undisplayable characters: \U01F3A8 instead of diamond


From: Emanuel Berg
Subject: Re: Display of undisplayable characters: \U01F3A8 instead of diamond
Date: Fri, 26 Aug 2022 21:34:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Kévin Le Gouguec wrote:

> *shrug* I don't live in a TTY, so I don't have an informed
> opinion on what the most useful representation would be.
> Off the top of my head, I see

Here in tty land sayings are you are correct in everything you
say, you could have added that the font color - not an Emacs
face it seems - it is the ANSI Bright Yellow color
(\u001b[33;1m) - this makes the char code stick out so they
are what you notice first and most while it should be the
other way around.

> a minimalist approach: add a new 'char method that lets
> you pick your favourite placeholder character for the
> 'no-font group,

+1 (minimalist?)

When you stay with point on the char in the echo area it would
say, for 😀 for example, indeed, "grinning face".

> * a maximalist approach: embark on a quest to add legible
>   and informative display methods [...]

(setq expand-glyphless-method nil)

Show 😀 as 😀. (default; same as now)

(setq expand-glyphless-method #xfffd)

Show 😀 as �.

(setq expand-glyphless-method 'codepoint)

Show 😀 as \U01F600.

(setq expand-glyphless-method 'human)

Show 😀 as [grinning-face].

[smiling-face-saying-goodbye]

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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