From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Eliminating "changed in Emacs outside of Customize" Date: Tue, 1 Feb 2005 23:52:32 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107303151 21559 80.91.229.2 (2 Feb 2005 00:12:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2005 00:12:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 02 01:12:31 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw88B-0001uZ-7X for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2005 01:12:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw8LC-0004gl-7f for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 19:25:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw8JS-0004C7-BF for emacs-devel@gnu.org; Tue, 01 Feb 2005 19:24:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw8JJ-00046z-SQ for emacs-devel@gnu.org; Tue, 01 Feb 2005 19:24:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw8JF-00041f-OR for emacs-devel@gnu.org; Tue, 01 Feb 2005 19:23:54 -0500 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw7p5-0005Cm-2L for emacs-devel@gnu.org; Tue, 01 Feb 2005 18:52:43 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Tue, 1 Feb 2005 23:52:32 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: 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:32735 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32735 Today's GNU Emacs CVS snapshot, Tue, 2005 Feb 1 13:09 UTC GNU Emacs 21.3.50.49 (i686-pc-linux-gnu, GTK+ Version 2.4.14) started with emacs -Q I see the same behavior in today's CVS snapshot as Drew Adams, who used an instance of CVS Emacs from last July. First, I evaluated the following in my *scratch* buffer: (setq-default fill-column 42) (custom-set-variables '(fill-column 75)) (custom-set-faces) Drew Adams wrote: Upon restarting, fill-column is 75 and flagged "set and saved" in Customize. Yes. Same here. Except I am not sure what Drew meant by the word `restarting'; to me that means starting a new instance of Emacs. Perhaps that is what he did. In any event, I ran `M-x customize-variable RET fill-column RET' and saw the message. Then I evaluated `(setq-default fill-column 42)' after the custom-set*, like this: (custom-set-variables '(fill-column 75)) (custom-set-faces) (setq-default fill-column 42) Drew Adams wrote: Then, upon restarting, fill-column is 42 and flagged "changed outside Customize". Yes, also, when running `M-x customize-variable RET fill-column RET'. If I remember and understand correctly, this means that at least let, set, setq, setq-default, defvar, defconst, defcustom, set-variable, and custom-set-variables are different functions to set the value cell of a symbol, and the value is the last set in the environment. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc