From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: customize Date: Mon, 29 Jul 2002 18:15:45 +0200 Organization: The Church of Emacs Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207111201.g6BC1OM16938@aztec.santafe.edu> <15680.26449.937153.817907@localhost.localdomain> <200207271853.g6RIrdt10834@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027959414 11154 127.0.0.1 (29 Jul 2002 16:16:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2002 16:16:54 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17ZDCW-0002tn-00 for ; Mon, 29 Jul 2002 18:16:52 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ZDTp-0000dy-00 for ; Mon, 29 Jul 2002 18:34:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ZDCu-0005g1-00; Mon, 29 Jul 2002 12:17:16 -0400 Original-Received: from sheridan.dina.kvl.dk ([130.225.40.227]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17ZDBp-0005cZ-00 for ; Mon, 29 Jul 2002 12:16:09 -0400 Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id SAA30429; Mon, 29 Jul 2002 18:16:05 +0200 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.9.3+Sun/8.9.3) id SAA26328; Mon, 29 Jul 2002 18:15:45 +0200 (MEST) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: eddy@opera.no X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: (Edward Welbourne's message of "Mon, 29 Jul 2002 15:50:08 +0200") Original-Lines: 27 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6142 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6142 Edward Welbourne writes: >> custom-set-* doesn't have to come last in ~/.emacs. > but customize always adds it at the end. > >> After it is there, you can add stuff in ~/.emacs after it. > and get a layer-cake of intermingled fragments, some of one's own > construction, others added by customize (and marked with a warning > against modifying them other than via the customize UI), which will > make it harder to keep track of what's going on, what one can safely > modify, etc.; maintenance nightmare. Unless something has changed drastically, customize will do the following: 1. Scan custom-file for a custom-set-variables top level form. 2. Remove it if found, otherwise go to (or stay at) the end of the file. 3. Insert a new custom-set-variables. The effect of this is that if you move the custom-set-variables call, it will stay put. And there will only be one such call on the top level, unless you yourself add an extra, in which case all bets are off. Same for custom-set-faces. Maybe you have tried to move it to a nested form? That won't work.