[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25
From: |
Stefan Monnier |
Subject: |
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25 |
Date: |
Mon, 02 Feb 2015 18:30:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> I'll look into these specific use cases, but ultimately everything can be
> (and probably already is) stored in variables.
In the case of desktop.el the state is kept in a whole bunch of
different places. Same for savehist.el where the state is spread over
several variables.
> This could be used to restore frame configuration, for instance.
That's right: for states that aren't stored in variables, we clearly
need both a getter and a setter.
Stefan
Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25, Stefan Monnier, 2015/02/02