[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25
From: |
Stephen J. Turnbull |
Subject: |
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25 |
Date: |
Mon, 02 Feb 2015 10:07:39 +0900 |
Sean Allred writes:
> Specifically, his point about defcustom is a good one. Such
> variables shouldn’t be cached in the same sense.
Why not? Custom provides a "reset" functionality if the user *wants*
to reset. It's not clear to me that a user wouldn't want changes to
customizable variables to persist.
> stash.el was and is designed as a patch for the lack of “internal
> persistent variables”. The additional keyword(s?) to defgroup and a
> defvar* macro would suffice.
What does stash provide that a session manager such as desktop.el
doesn't? That wasn't clear to me from your long email.
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25, Stefan Monnier, 2015/02/02