From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Eliminating "changed in Emacs outside of Customize" Date: Tue, 01 Feb 2005 15:04:52 -0500 Message-ID: <87lla8xdps.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107289083 10015 80.91.229.2 (1 Feb 2005 20:18:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 20:18:03 +0000 (UTC) Cc: emacs-devel@gnu.org, Per Abrahamsen , rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 21:18:02 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw4T0-0001l7-UF for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 21:17:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw4fz-0000A1-Ny for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 15:31:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw4aE-0005uP-NA for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:25:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw4a3-0005nc-Pd for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:25:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw4a0-0005kM-Fg for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:24:56 -0500 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw4Gc-000393-9v; Tue, 01 Feb 2005 15:04:54 -0500 Original-Received: from alfajor ([67.71.119.41]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050201200453.HKIS19622.tomts10-srv.bellnexxia.net@alfajor>; Tue, 1 Feb 2005 15:04:53 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 9AAE9D7345; Tue, 1 Feb 2005 15:04:52 -0500 (EST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Tue, 1 Feb 2005 10:58:05 -0800") 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:32717 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32717 > Was this unclear: > If you .emacs, or some third party code you > activate from ".emacs", contains "(setq foo 42)" and you change and > save "foo" from customize, you changes to the variable through > customize will be overwritten next time you start Emacs. It's crystal clear to me, but let me try to rephrase it, to see if it helps other people: - Let's imagine user Helen has had a (setq-default fill-column 42) in her .emacs (or maybe it's in some package that she doesn't even remember she's loading from a .emacs). - Now let's imagine that Helen notices that her fill-column is too small and she wants to set it to something else, like 70. - She does M-x customize-variable RET fill-column RET, then changes the value, then saves. - When she restarts, fill-column is 42 again. - Since she's not arrogant, she figures she must have made a mistake so she goes through the customize-variable thingy again. - When she restarts, fill-column is still stuck at 42. - Then comes M-x report-emacs-bug. 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). Stefan