From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Customize buttons that changeuser'scustomfileshouldaskforconfirmation Date: Sat, 12 Feb 2005 22:32:40 -0600 (CST) Message-ID: <200502130432.j1D4Wex19807@raven.dms.auburn.edu> References: <200502121845.j1CIj3R19380@raven.dms.auburn.edu> <011001c51146$6b2aff10$0200a8c0@sedrcw11488> <200502122121.j1CLLU119488@raven.dms.auburn.edu> <012201c51149$e4ed2a00$0200a8c0@sedrcw11488> <200502122142.j1CLgFT19512@raven.dms.auburn.edu> <015e01c51161$6658c240$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108269746 17903 80.91.229.2 (13 Feb 2005 04:42:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2005 04:42:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 13 05:42:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0BaN-00005v-QU for ged-emacs-devel@m.gmane.org; Sun, 13 Feb 2005 05:42:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0Bpd-0008Sr-P2 for ged-emacs-devel@m.gmane.org; Sat, 12 Feb 2005 23:58:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0Bnp-0007Ud-NV for emacs-devel@gnu.org; Sat, 12 Feb 2005 23:56:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0Bni-0007Qb-6i for emacs-devel@gnu.org; Sat, 12 Feb 2005 23:56:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0Bng-0007Md-79 for emacs-devel@gnu.org; Sat, 12 Feb 2005 23:56:04 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0BSg-0004WG-Cj for emacs-devel@gnu.org; Sat, 12 Feb 2005 23:34:22 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j1D4YL9N023041; Sat, 12 Feb 2005 22:34:21 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j1D4Wex19807; Sat, 12 Feb 2005 22:32:40 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: lennart.borgman.073@student.lu.se In-reply-to: <015e01c51161$6658c240$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:33332 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33332 >>From my previous message: You now start 21.4 and set custom-file _using Custom_ (important) to ".emacs-custom-22.1.el" or similar. You can alternatively copy the 21.4 file into the 22.1.el file, but there might be other things in there that you do not want to copy. You then have to first visit the 21.4 file, find the `custom-set-{variables,faces} forms and set the region around it before writing it to the new file, you have to set or manually edit the custom-file entry anyway and so on. So sometimes it is more convenient to let Custom do all that work. As a said before a second reason to change custom-file in a running Emacs session is to save your current settings into a (usually newly created) file _without_ wanting to save them in your "real" custom file. Again, there is no reason to load that file. You want to write into it, not read from it. Sincerely, Luc.