From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: Customize enforcing data relationships?
Date: Wed, 19 Feb 2003 09:11:10 +0100 [thread overview]
Message-ID: <uheb0n10h.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: u65rg26cj.fsf@hotpop.com
Galen Boyer <galenboyer@hotpop.com> writes:
[...]
> I was talking more about, if you set variable B, then you will need to
> set variable A.
>
> Or, you should set these variables in this particular order.
>
> It would be a way for customize to mimic those interactive installing
> programs. Let the author define the dependency (how bout requirements
> as the term?) and customize could continue to take care of the setup
> interface.
>
> It would also be a way to get some of the nice windowy setup dialogs
> where they make it difficult for one to muck up their environment. If a
> certain dialog box is clicked off, a whole particular section of
> variables gets grayed out.
[...]
You could at least do something like this, if it is applicable:
(defvar my-variable-A nil)
(defcustom my-variable-B "test"
"A variable."
:type 'string
:set (lambda (symbol value)
(set symbol value)
(if (equal value "schubi")
(setq my-variable-A "dubi")
(setq my-variable-A nil))))
It would be nice, if this could be used to "gray out" some sections in
the customization buffer.
Oliver
--
1 Ventôse an 211 de la Révolution
Liberté, Egalité, Fraternité!
next prev parent reply other threads:[~2003-02-19 8:11 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>
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 [this message]
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=uheb0n10h.fsf@ID-87814.user.dfncis.de \
--to=alkibiades@gmx.de \
/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.