From: "Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: Customize enforcing data relationships?
Date: 17 Feb 2003 11:04:03 -0500 [thread overview]
Message-ID: <5l65ri51xo.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: uisvisqls.fsf@hotpop.com
> More thoughts are that, of course, it would be the package developer's
> responsibility to define the relationships. He could define through
> some custom function, say, "defcustomrel", that B must be set if A is
> set. Then customize could see the user set A and immediately jump the
> user to B and the setting of A isn't complete until the user has set B,
> thus enforcing the dependency. Even better would be displaying them
> together as well, with the dependency mapped out visually.
The problem is that dependency is typically of the form
(defcustom a foo)
(defcustom b (bar a))
and people think "Aha! B depends on A", but then some user comes along
and changes her setting for B from (bar a) to (baz c) and maybe she
even changes A's setting to (foz b) and we now have a completely
different dependency.
So I don't think the dependency should be specified as part of the
`defcustom' but as part of the value instead.
Stefan
next prev parent reply other threads:[~2003-02-17 16:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-17 4:24 Customize enforcing data relationships? Galen Boyer
2003-02-17 15:24 ` Galen Boyer
2003-02-17 16:04 ` Stefan Monnier <foo@acm.com> [this message]
2003-02-17 17:24 ` Kai Großjohann
2003-02-17 19:03 ` Stefan Monnier <foo@acm.com>
2003-02-17 19:52 ` Kai Großjohann
2003-02-17 20:04 ` Stefan Monnier <foo@acm.com>
2003-02-18 8:01 ` Kai Großjohann
2003-02-18 15:56 ` Stefan Monnier <foo@acm.com>
2003-02-19 2:10 ` Galen Boyer
2003-02-19 8:11 ` Oliver Scholz
2003-02-19 10:47 ` Kai Großjohann
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=5l65ri51xo.fsf@rum.cs.yale.edu \
--to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
/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.