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: Tomas Hlavaty
Subject: Re: Display of undisplayable characters: \U01F3A8 instead of diamond
Date: Wed, 07 Sep 2022 17:48:58 +0200

On Wed 07 Sep 2022 at 17:20, Eli Zaretskii <eliz@gnu.org> wrote:
>> * You see the effect, decide that it is good, put
>> (some-hypothetical-other-command) in your init file.
>> * On the next startup, it reads the file (which is fast), applies the
>> data (which is supposedly also fast), has the same effect.
>> 
>> The file name could include some relevant factors such as the terminal
>> type on which the data depends.
>
> You suggest semi-automatically saving the generated code in the init
> file, instead of the user copying it there manually?

No, he said that the generated code is saved automatically in a file and
if the user puts (some-hypothetical-other-command) in his .emacs
manually, it will load the saved file.  Something like:

(defun some-hypothetical-other-command ()
  (or (let ((f "~/.emacs.d/cache/some-hypothetical-other-command.el"))
        (when (file-exists-p f)
          (load f)))
      (generate-and-save-that-slow-code)))



reply via email to

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