From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Galen Boyer Newsgroups: gmane.emacs.help Subject: Re: Customize enforcing data relationships? Date: 18 Feb 2003 20:10:29 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <5l65ri51xo.fsf@rum.cs.yale.edu> <84wujy4y7q.fsf@lucy.is.informatik.uni-duisburg.de> <5l1y264tlu.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045622227 16532 80.91.224.249 (19 Feb 2003 02:37:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Feb 2003 02:37:07 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18lK6X-0004HZ-01 for ; Wed, 19 Feb 2003 03:37:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18lK4x-00075v-05 for gnu-help-gnu-emacs@m.gmane.org; Tue, 18 Feb 2003 21:35:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!snoopy.risq.qc.ca!nf3.bellglobal.com!novia!newscene.com!newscene.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-Sender: galenboyer@hotpop.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:110360 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6862 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6862 On 17 Feb 2003, monnier+gnu.emacs.help/news/@flint.cs.yale.edu wrote: >>> So I don't think the dependency should be specified as part of the >>> `defcustom' but as part of the value instead. >> Can somebody give me the skinny on what you're talking about? I hear >> your words, but the meaning escapes me :-/ What kind of dependency > > If you custom-set A to (bar b) then you'd better make sure that > custom sets B before setting A otherwise you might not get the > result you want. I.e. in such a case B depends on A. 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. -- Galen deForest Boyer Sweet dreams and flying machines in pieces on the ground.