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: Customize buttons that change user'scustomfileshouldaskforconfirmation Date: Mon, 7 Feb 2005 20:23:59 +0000 (UTC) Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107808538 30824 80.91.229.2 (7 Feb 2005 20:35:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2005 20:35:38 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 07 21:35:38 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CyFaX-00036U-LW for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 21:34:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyFoj-0003Gm-Cf for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 15:49:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyFiH-0000UP-LB for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:42:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyFiD-0000S0-1G for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:42:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyFiA-0000Lt-CB for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:42:24 -0500 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CyFQT-0006KM-J2 for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:24:05 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Mon, 7 Feb 2005 20:23:59 +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:33040 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33040 If we do split Erase Customization in two: a) "Get All" > "Standard" plus b) "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. Clearly, when we tell Emacs to go to the default, it should do so. That means deleting everything that is in a .emacs file and putting in a commented-out statement that says ;; All customizations have been reset to the default. It makes no sense to copy the default values from the Emacs sources to the initialization file. It does make sense to remind a person that he or she once had customized Emacs, but decided to get rid of them. (And presumably, the old customizations will be saved in a back up file; that is a benefit of rewriting the initialization file with just a comment in it.) ... on a case-by-case basis. A user might well somtimes want to Get the Standard value and then save that value ... That is a very different action than getting rid of all customizations. That involves deleting only the existing initialization expression. The other `setq', `custom-set-*', `defun', etc. expressions remain. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc