From: chad <chadpbrown@gmail.com>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Application resource storage
Date: Tue, 29 Mar 2011 13:51:28 -0700 [thread overview]
Message-ID: <B39BC0A6-643E-40F5-B333-290899DD5E8F@gmail.com> (raw)
In-Reply-To: <87y63xem1c.fsf@lifelogs.com>
An idea:
On Tue, 29 Mar 2011 21:34:05 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
LMI> But if the question is of the kind "do you want to use port 587 when
LMI> connecting to smtp.gmail.com?", then that doesn't really map
LMI> straightforwardly to a simple variable. It might map to an alist of
LMI> some kind, but the user may set that alist somewhere else, which
LMI> makes all this kind of tricky.
I wonder if this isn't the key insight -- for all that I'm not a big fan, custom does a decent job of trying to do all of the user-input interactions. The trickiness seems to come in when something is set both directly and via custom. If the custom machinery were to add a flag or slot to a variable claiming it as custom-set, then we could at least warn the user that a custom setting is being overridden, potentially confirming the change, offering to push the change into custom, etc.
If we added such a check to custom and to user-facing variable setters, then the performance hit should be negligible. In other words, things like set-variable would check to see if its argument was `customized', and calling M-x custom would check to see if any of `its' variables had been changed.
Worth the trouble?
*Chad
next prev parent reply other threads:[~2011-03-29 20:51 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-17 17:04 Outgoing mail defaults Lars Magne Ingebrigtsen
2011-03-17 17:17 ` Ted Zlatanov
2011-03-17 17:31 ` Lars Magne Ingebrigtsen
2011-03-17 18:18 ` Ted Zlatanov
2011-03-17 18:33 ` Lars Magne Ingebrigtsen
2011-03-17 19:35 ` Ted Zlatanov
2011-03-17 17:25 ` David Reitter
2011-03-17 17:43 ` Lars Magne Ingebrigtsen
2011-03-17 18:22 ` Ted Zlatanov
2011-03-18 14:10 ` John Sullivan
2011-03-17 19:02 ` David Reitter
2011-03-17 22:27 ` chad
2011-03-18 2:38 ` Ted Zlatanov
2011-03-18 4:17 ` chad
2011-03-21 19:46 ` Adam Sjøgren
2011-03-21 19:50 ` Ted Zlatanov
2011-03-17 20:23 ` James Cloos
2011-03-17 20:30 ` Lars Magne Ingebrigtsen
2011-03-17 20:35 ` James Cloos
[not found] ` <87d3ln9b7y.fsf@stupidchicken.com>
2011-03-20 1:41 ` Ted Zlatanov
2011-03-20 3:06 ` Stefan Monnier
2011-03-20 12:20 ` Ted Zlatanov
2011-03-21 14:20 ` Stefan Monnier
2011-03-21 19:42 ` Ted Zlatanov
2011-03-21 22:14 ` Stefan Monnier
2011-03-22 2:01 ` Ted Zlatanov
2011-03-29 19:22 ` Lars Magne Ingebrigtsen
2011-03-29 19:34 ` Application resource storage (was: Outgoing mail defaults) Lars Magne Ingebrigtsen
2011-03-29 19:58 ` Application resource storage Ted Zlatanov
2011-03-29 20:14 ` Lars Magne Ingebrigtsen
2011-03-29 21:02 ` Ted Zlatanov
2011-03-29 20:51 ` chad [this message]
2011-03-22 11:26 ` Outgoing mail defaults Simon Josefsson
2011-04-16 16:45 ` Lars Magne Ingebrigtsen
2011-04-16 16:47 ` Lars Magne Ingebrigtsen
2011-04-16 16:51 ` Ted Zlatanov
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=B39BC0A6-643E-40F5-B333-290899DD5E8F@gmail.com \
--to=chadpbrown@gmail.com \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=tzz@lifelogs.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).