[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25
From: |
David Kastrup |
Subject: |
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25 |
Date: |
Mon, 02 Feb 2015 14:06:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> Artur Malabarba writes:
> > On 2 Feb 2015 01:07, "Stephen J. Turnbull" <address@hidden> wrote:
>
> > > 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.
> >
> > I wasn't saying defcustoms shouldn't be persistent, I was just
> > saying they already have a great mechanism for that so they don't
> > need to use this caching mechanism that is being suggested for
> > internal variables.
>
> Yes, they might. A user who is testing out a new custom setting might
> like the setting to persist without explicitly saving it if Emacs
> crashes or he runs out of memory and needs to stop and restart Emacs,
> or something like that.
Personally, I very much prefer it if my experiments do not follow me
around for the rest of my life. That is, I _like_ to be able to restart
Emacs and have it return to a well-known state.
--
David Kastrup
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25, Stefan Monnier, 2015/02/02