|
From: | Stefan Monnier |
Subject: | Re: Display of undisplayable characters: \U01F3A8 instead of diamond |
Date: | Wed, 07 Sep 2022 12:48:46 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> 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))) The problem of course being how to decide when to flush the cache. By making the system less automatic, we expose enough of it that the user will obviously know how to "flush the cache" and will hopefully realize when it might need to be "flushed". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |