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: Eli Zaretskii
Subject: Re: Display of undisplayable characters: \U01F3A8 instead of diamond
Date: Tue, 06 Sep 2022 16:03:42 +0300

> From: Emanuel Berg <incal@dataswamp.org>
> Date: Tue, 06 Sep 2022 12:38:28 +0200
> 
> Eli Zaretskii wrote:
> 
> > The command has a doc string. Did you read it? If so, and if
> > the doc string didn't explain that, please ask
> > specific questions.
> 
> Don't we need an interface that actually executes the wishes
> of the user as specified with the provided argument(s) so that
> middle level of using "produced code" can be
> skipped altogether?

The doc string says:

  This function produces a buffer with code to set up `standard-display-table'
  such that characters that cannot be displayed by the terminal, and
  don't already have their display set up in `standard-display-table', will
  be represented by a replacement character.  You can evaluate the produced
  code to use the setup for the current Emacs session, or copy the code
  into your init file, to make Emacs use it for subsequent sessions.

The last sentence says how to cause the code to be "executed".

> Something like
> 
>   (set-unprintable-char-char chr)

That would require Emacs to detect all the "unprintable" characters on
each startup, which would slow down startup, sometimes to unacceptable
lengths of time.

If you followed the discussion, this was explained and unanimously
rejected.



reply via email to

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