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'scustomfileshouldaskforconfirmation Date: Sun, 13 Feb 2005 21:32:49 -0600 (CST) Message-ID: <200502140332.j1E3Wnd24176@raven.dms.auburn.edu> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108352487 29551 80.91.229.2 (14 Feb 2005 03:41:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2005 03:41:27 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 14 04:41:27 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0X6t-0007ZZ-3L for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2005 04:41:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0XML-00035c-Ow for ged-emacs-devel@m.gmane.org; Sun, 13 Feb 2005 22:57:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0XKF-0002SS-OB for emacs-devel@gnu.org; Sun, 13 Feb 2005 22:55:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0XK4-0002Nz-6x for emacs-devel@gnu.org; Sun, 13 Feb 2005 22:54:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0XK3-0002MT-J3 for emacs-devel@gnu.org; Sun, 13 Feb 2005 22:54:55 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0X0b-0003Ld-63 for emacs-devel@gnu.org; Sun, 13 Feb 2005 22:34:49 -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 j1E3YW9N000614; Sun, 13 Feb 2005 21:34:32 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j1E3Wnd24176; Sun, 13 Feb 2005 21:32:49 -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:33366 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33366 Drew Adams wrote: The question was about "getting" values from a custom file without loading that file. You are confirming, I guess, that there is no way to change custom-file for purposes of get-but-do-not-load. Setting custom-file _during an Emacs session_ is usually with the intent to write into it. One even usually picks a non-existent file and lets Custom create it. I believe that if you regularly want to switch customizations during an Emacs session, you _might_ be able to use "custom themes". I have never felt the need myself, so I do not know exactly how they work, but if you are interested, you could take a look. If one wants to make switching between sets of related customizations within an emacs session easier, then the best way to do that seems to be to implement features on top of the existing Custom package rather than to try to reimplement fundamental parts of Custom. _Maybe_ that is what custom themes already do. Sincerely, Luc.