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 change user's customfileshouldaskforconfirmation Date: Sat, 12 Feb 2005 13:03:47 -0600 (CST) Message-ID: <200502121903.j1CJ3l419387@raven.dms.auburn.edu> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108235420 20407 80.91.229.2 (12 Feb 2005 19:10:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Feb 2005 19:10:20 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 12 20:10:19 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D02dk-000615-6E for ged-emacs-devel@m.gmane.org; Sat, 12 Feb 2005 20:09:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D02sv-0005pE-Tr for ged-emacs-devel@m.gmane.org; Sat, 12 Feb 2005 14:24:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D02qG-0004Qp-Le for emacs-devel@gnu.org; Sat, 12 Feb 2005 14:22:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D02q4-0004KZ-VF for emacs-devel@gnu.org; Sat, 12 Feb 2005 14:21:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D02q1-0004II-8D for emacs-devel@gnu.org; Sat, 12 Feb 2005 14:21:53 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D02aD-0000hG-GX for emacs-devel@gnu.org; Sat, 12 Feb 2005 14:05:33 -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 j1CJ5Q9N021145; Sat, 12 Feb 2005 13:05:26 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j1CJ3l419387; Sat, 12 Feb 2005 13:03:47 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: drew.adams@oracle.com 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:33306 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33306 >>From my previous message: M-: (setq custom-file "X") M-x customize do some editing save (into X) M-: (setq custom-file "Y") get (from ?) Question is "from X" or "from Y"? Good point. I would think it should be Y. Absolutely not. `(setq custom-file "Y")' means that you want Custom to _write_ to Y. If you want Y to be read you have to load Y. Well, it is a little bit more complex than that. As long as you have not saved any options through Custom since the `M-: (setq custom-file "Y")' you should read from X, for the reason given above. But once you save new options through Custom, the up to date description of current options is in Y, not in X. Sincerely, Luc.