From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Customize buttons that changeuser'scustomfileshouldaskforconfirmation Date: Fri, 11 Feb 2005 13:12:54 -0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108156515 21784 80.91.229.2 (11 Feb 2005 21:15:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2005 21:15:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 22:15:15 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Czi81-0008Sl-Rn for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2005 22:15:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CziLW-0003Xn-1U for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2005 16:29:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CziKx-0003SP-VO for emacs-devel@gnu.org; Fri, 11 Feb 2005 16:28:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CziKt-0003Pr-SS for emacs-devel@gnu.org; Fri, 11 Feb 2005 16:28:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CziKt-0003Pa-R8 for emacs-devel@gnu.org; Fri, 11 Feb 2005 16:28:23 -0500 Original-Received: from [141.146.126.231] (helo=agminet04.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Czi7L-0008DW-Tp for emacs-devel@gnu.org; Fri, 11 Feb 2005 16:14:24 -0500 Original-Received: from agminet04.oracle.com (localhost [127.0.0.1]) by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1BLD2hn031886; Fri, 11 Feb 2005 13:13:02 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1BLD1Pa031872; Fri, 11 Feb 2005 13:13:01 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1BLD0ES003782; Fri, 11 Feb 2005 14:13:00 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-66-154.vpn.oracle.com [141.144.66.154]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j1BLCt9D003698 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 11 Feb 2005 14:12:59 -0700 Original-To: , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal 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:33265 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33265 ... the current value is updated to the same value that is written to your custom file. That is not the same thing as evaluating your entire .emacs file, however. I am refering to `All'. Clearly, individual settings should not involve evaluating your entire .emacs file. "All" refers, in Customize, to all options in the current Customize buffer. Your .emacs can involve lots of other things. Your .emacs is not currently eval'd when you do anything in Customize, AFAIK, and it would be a mistake to reevaluate .emacs, IMO. You are correct, however, that Save in Customize means Set and Save - that is, those particular options listed in the current Customize buffer are both set and saved. How can you save Customize settings without also setting their current values (today)? And, again, changing a value in your init file is not what is meant currently by "set"; "set" refers to setting the current values. Just by saving them: for example, just now I changed my bold face ... to '(bold ((t (:background "DodgerBlue4" :foreground "Red")))) OK. You're talking about editing _.emacs_ and saving it (correct?). Within _Customize_, there is no way to Save without also setting, IIUC - that is what I meant. However, unlike Emacs Lisp expressions saved in regular libraries, Emacs Lisp expressions used for customization are saved in your .emacs file. That file is automatically loaded each time you start a new instance of Emacs. So customized saving implies (eventual) evaluation. Yes, eval of .emacs occurs upon startup (only). If we do not offer a `Save for the future, but not for this session' option for the automatic writing user interface, it might reduce potential confusion just a little to say `Set and Save All' and besides saving, set for current use as well as after the next start. That is the current (and proposed) behavior: Save (in Customize) means set and save. I personally think that "Save" is sufficient as the name, but I agree that all help for the button/menu item should explicitly mention that it both _sets_ and saves.