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 21:44:52 +0100 Message-ID: References: <87lla8xdps.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107291095 16824 80.91.229.2 (1 Feb 2005 20:51:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 20:51:35 +0000 (UTC) Cc: rms@gnu.org, Per Abrahamsen , Drew Adams , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 21:51:34 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw4zU-0006wR-RH for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 21:51:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw5CT-0003WT-Sk for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 16:04:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw59J-0002YA-PI for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:01:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw596-0002Q1-II for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:01:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw596-0002Ou-7E for emacs-devel@gnu.org; Tue, 01 Feb 2005 16:01:12 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw4tR-0006Em-7i for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:45:01 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Cw4qh-0007Xq-Ce; Tue, 01 Feb 2005 15:42:11 -0500 Original-To: Stefan Monnier In-Reply-To: <87lla8xdps.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 01 Feb 2005 15:04:52 -0500") 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:32720 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32720 Stefan Monnier writes: > Of course the above problem will only happen if the (setq-default > fill-column 42) happens to be executed after Helen's > custom-set-variables (e.g. in a mode-hook or in one of the many > poorly written major modes that happily mess up global variables). 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. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum