From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Sean Allred <code@seanallred.com>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Incorporating caching into defgroup/defcustom/defvar for Emacs 25
Date: Mon, 2 Feb 2015 20:48:09 +0000 [thread overview]
Message-ID: <CAAdUY-+MAR2xzmALe7AvtaT+FU5LCiY3+A82et=LB0w02gyT3A@mail.gmail.com> (raw)
In-Reply-To: <jwviofkfa9f.fsf-monnier+emacs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
> Also, based on the desktop.el and Gnus use cases, it seems important to
> be able to save a state which is not in a variable (e.g. the frame
> configuration),
I'll look into these specific use cases, but ultimately everything can be
(and probably already is) stored in variables.
Also, I don't know if that's what you meant, but I see now it would be
useful to have an :init property on stash variables (similar to the one in
defcustoms), which would only be called if the stash was loaded from disk.
This could be used to restore frame configuration, for instance.
> and it's also important that those persistent vars don't
> be reloaded eagerly at init time, but later on when the corresponding
> package is loaded/activated.
Yes, that's how it works.
[-- Attachment #2: Type: text/html, Size: 911 bytes --]
next prev parent reply other threads:[~2015-02-02 20:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-01 16:46 Incorporating caching into defgroup/defcustom/defvar for Emacs 25 Sean Allred
2015-02-01 16:56 ` Sean Allred
2015-02-02 1:07 ` Stephen J. Turnbull
2015-02-02 10:08 ` Artur Malabarba
2015-02-02 13:03 ` Stephen J. Turnbull
2015-02-02 13:06 ` David Kastrup
2015-02-02 13:16 ` Artur Malabarba
2015-02-02 14:24 ` Drew Adams
2015-02-02 18:26 ` Stefan Monnier
2015-02-02 20:48 ` Artur Malabarba [this message]
2015-02-02 23:30 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAdUY-+MAR2xzmALe7AvtaT+FU5LCiY3+A82et=LB0w02gyT3A@mail.gmail.com' \
--to=bruce.connor.am@gmail.com \
--cc=code@seanallred.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.