[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Incorporating caching into defgroup/defcustom/defvar for Emacs 25
From: |
Drew Adams |
Subject: |
RE: Incorporating caching into defgroup/defcustom/defvar for Emacs 25 |
Date: |
Mon, 2 Feb 2015 06:24:48 -0800 (PST) |
> sessions are only saved/loaded if desktop-mode is enabled
Only saved/loaded _automatically_ if `desktop-mode' is enabled.
Or if other code explicitly does the same thing automatically.
Desktop files can be saved/loaded at any time, by code, users,
bookmarks, etc.
Wrt automatically caching selected variables, another way to do
that is to create a variables-list bookmark and automatically
update it (e.g. on exit from Emacs or whatever).
(Var-list bookmarks are available with Bookmark+, and could be
trivially added to vanilla Emacs. Likewise, desktop bookmarks.)
Caveat: I haven't been following this thread. Just pointing
out that `desktop-mode' is not a requirement for saving/loading
desktop files.
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25, Stefan Monnier, 2015/02/02