[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customize enforcing data relationships?
From: |
Stefan Monnier <address@hidden> |
Subject: |
Re: Customize enforcing data relationships? |
Date: |
17 Feb 2003 11:04:03 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> 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
- Customize enforcing data relationships?, Galen Boyer, 2003/02/16
- Re: Customize enforcing data relationships?, Galen Boyer, 2003/02/17
- Re: Customize enforcing data relationships?,
Stefan Monnier <address@hidden> <=
- Re: Customize enforcing data relationships?, Kai Großjohann, 2003/02/17
- Re: Customize enforcing data relationships?, Stefan Monnier <address@hidden>, 2003/02/17
- Re: Customize enforcing data relationships?, Kai Großjohann, 2003/02/17
- Re: Customize enforcing data relationships?, Stefan Monnier <address@hidden>, 2003/02/17
- Re: Customize enforcing data relationships?, Kai Großjohann, 2003/02/18
- Re: Customize enforcing data relationships?, Stefan Monnier <address@hidden>, 2003/02/18
- Re: Customize enforcing data relationships?, Galen Boyer, 2003/02/18
- Re: Customize enforcing data relationships?, Oliver Scholz, 2003/02/19
- Re: Customize enforcing data relationships?, Kai Großjohann, 2003/02/19