all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Galen Boyer <galenboyer@hotpop.com>
Subject: Re: Customize enforcing data relationships?
Date: 17 Feb 2003 09:24:18 -0600	[thread overview]
Message-ID: <uisvisqls.fsf@hotpop.com> (raw)
In-Reply-To: ud6lrtl7e.fsf@hotpop.com

On 16 Feb 2003, galenboyer@hotpop.com wrote:
> Is there anyway to use customize to enforce that variable B is
> dependent on variable A.

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.

> Is there anyway to use customize to enforce an ordering dependency on
> the setting of variables?

Same sort of dependency interface here.

Has this been something already discussed lots and I'm late to the
party?

My main thought is that one of the things that seems to be lacking in
Emacs is the user must read all documentation or at least the user must
find and read the correct documentation all in their quest to gleam the
dependencys of variables and functionality.  Its usually many trial and
errors and rereads of the documentation to get going with particular
packages.  Could customize help by allowing more stringency if the
package developer so deemed?

-- 
Galen deForest Boyer
Sweet dreams and flying machines in pieces on the ground.

  reply	other threads:[~2003-02-17 15:24 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 [this message]
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
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=uisvisqls.fsf@hotpop.com \
    --to=galenboyer@hotpop.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.
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.