From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Customize buttons that change user'scustomfileshouldaskforconfirmation Date: Tue, 08 Feb 2005 06:46:48 -0500 Message-ID: References: <011401c50d53$59dab800$0200a8c0@sedrcw11488> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107864820 5581 80.91.229.2 (8 Feb 2005 12:13:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2005 12:13:40 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 08 13:13:39 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CyUEr-0006oH-E2 for ged-emacs-devel@m.gmane.org; Tue, 08 Feb 2005 13:13:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyUTB-0002fp-Dd for ged-emacs-devel@m.gmane.org; Tue, 08 Feb 2005 07:27:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyUOb-0000Fw-6r for emacs-devel@gnu.org; Tue, 08 Feb 2005 07:23:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyUOU-0000D5-5U for emacs-devel@gnu.org; Tue, 08 Feb 2005 07:23:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyUOS-00009h-0V for emacs-devel@gnu.org; Tue, 08 Feb 2005 07:23:00 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CyTsn-0006uA-Hk for emacs-devel@gnu.org; Tue, 08 Feb 2005 06:50:17 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CyTpQ-00007Q-RT; Tue, 08 Feb 2005 06:46:49 -0500 Original-To: "Lennart Borgman" In-reply-to: <011401c50d53$59dab800$0200a8c0@sedrcw11488> (lennart.borgman.073@student.lu.se) 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:33076 If we do split Erase Customization in two: a) "Get All" > "Standard" plus "Save All", then there is the question of how "Save All" should act wrt values in the buffer that happen to be the same as the standard values. Two possibilities: 1. Save is smart wrt `standard', recognizes equality between standard lues and values to be "saved", and reworks the user's custom file much as Erase Customization does today. That is definitely the right way to do it. If the "Get standard value" command puts the variable into a state almost the same as never having been set, saving it should get the right results. This state would be almost the same as the usual "set" state, except that it would record a need to save the variable.