From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Eliminating "changed in Emacs outside of Customize" Date: Tue, 01 Feb 2005 22:35:37 +0100 Message-ID: References: <87lla8xdps.fsf-monnier+emacs@gnu.org> <008801c508a4$01110ac0$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107294490 28330 80.91.229.2 (1 Feb 2005 21:48:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 21:48:10 +0000 (UTC) Cc: Per Abrahamsen , emacs-devel@gnu.org, Stefan Monnier , Drew Adams , rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 22:48:09 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw5sJ-0007Mk-Fd for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 22:47:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw65J-0002lV-0W for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 17:01:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw621-0001W7-R6 for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:57:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw61o-0001Pz-Pp for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:57:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw61o-0001Mw-EV for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:57:44 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw5gX-00034N-RV for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:35:45 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Cw5dn-0002AA-Jb; Tue, 01 Feb 2005 16:32:56 -0500 Original-To: "Lennart Borgman" In-Reply-To: <008801c508a4$01110ac0$0200a8c0@sedrcw11488> (Lennart Borgman's message of "Tue, 1 Feb 2005 22:19:36 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32728 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32728 "Lennart Borgman" writes: > ----- Original Message ----- > From: "David Kastrup" > >> Wrong. Customize does not touch variables that have been set >> outside of it. Whether the set-default is executed before or after >> customize initializes its variables does not matter. The only >> difference is that if it is customized before, custom-set-variables >> will call the :set function (after the fact), something which does >> not happen otherwise. > > Can you please give an example of this? I just tried to test with > (setq debug-on-error t) and then M-x customize-option, > debug-on-error. The customize GUI worked and I could change and save > debug-on-error. > > There seem to be something I do not understand. Maybe you are > referring to what custom-set-variables does when custom-file is > loaded? It appears that I am babbling and confusing this with something else. Probably with custom-declare-variable calling the setter function if the value of the variable has been set before custom-declare-variable is executed. Sorry for the confusion. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum