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: Documentation for custom-file - is not (load custom-file) needed? Date: Mon, 6 Dec 2004 21:27:23 -0600 (CST) Message-ID: <200412070327.iB73RN924649@raven.dms.auburn.edu> References: <075b01c4d9a4$52799460$0200a8c0@sedrcw11488> <00bb01c4daee$5eb81350$0200a8c0@sedrcw11488> <200412051733.iB5HXIX13206@raven.dms.auburn.edu> <000001c4db1a$8d3770f0$0200a8c0@sedrcw11488> <200412060046.iB60kZj15003@raven.dms.auburn.edu> <003e01c4db31$e45a2550$0200a8c0@sedrcw11488> <200412060402.iB6421q15173@raven.dms.auburn.edu> <200412061834.iB6IYBu20015@raven.dms.auburn.edu> <009401c4dbdd$fb874c60$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102390169 29434 80.91.229.6 (7 Dec 2004 03:29:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2004 03:29:29 +0000 (UTC) Cc: monnier@iro.umontreal.ca, jpw@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 07 04:29:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CbW2W-0004kJ-00 for ; Tue, 07 Dec 2004 04:29:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbWCJ-0001ty-5o for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2004 22:39:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbWC9-0001tl-Eo for emacs-devel@gnu.org; Mon, 06 Dec 2004 22:39:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbWC7-0001tB-Sx for emacs-devel@gnu.org; Mon, 06 Dec 2004 22:39:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbWC7-0001t0-NN for emacs-devel@gnu.org; Mon, 06 Dec 2004 22:39:19 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbW2E-0002wV-71; Mon, 06 Dec 2004 22:29:06 -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 iB73T5Fu001106; Mon, 6 Dec 2004 21:29:05 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iB73RN924649; Mon, 6 Dec 2004 21:27:23 -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: <009401c4dbdd$fb874c60$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 Xref: main.gmane.org gmane.emacs.devel:30786 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30786 Lennart Borgman wrote: a) I do not think it is good to store it in (custom-set-variables ...) since that would make it much harder to rename that file because custom-set-variables would read the old file name. Renaming your custom file behind Emacs' back is about as advisable as renaming your .emacs file. The only valid reason would appear to be to temporarily disable it. Moreover, you get the same problem with the `setq', unless you edit your .emacs. Note that when you rename your custom file during an Emacs session and then change `custom-file' using Custom, then this poses no problem whatsoever. Custom writes into the new custom-file all options with a non-nil `saved-value' property. It does _not_ read from the old custom file. But unless you renamed your old custom file or played games with `saved-value' properties that you should not be playing, the result will be equivalent with reading from the old file. Sincerely, Luc.