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: Sun, 5 Dec 2004 11:33:18 -0600 (CST) Message-ID: <200412051733.iB5HXIX13206@raven.dms.auburn.edu> References: <075b01c4d9a4$52799460$0200a8c0@sedrcw11488> <00bb01c4daee$5eb81350$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102268153 6088 80.91.229.6 (5 Dec 2004 17:35:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Dec 2004 17:35:53 +0000 (UTC) Cc: jpw@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 05 18:35:48 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 1Cb0IV-0004FB-00 for ; Sun, 05 Dec 2004 18:35:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cb0SC-0007O7-Rt for ged-emacs-devel@m.gmane.org; Sun, 05 Dec 2004 12:45:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cb0Rq-0007LV-Fb for emacs-devel@gnu.org; Sun, 05 Dec 2004 12:45:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cb0Rp-0007Kv-Pc for emacs-devel@gnu.org; Sun, 05 Dec 2004 12:45:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cb0Rp-0007Kn-La for emacs-devel@gnu.org; Sun, 05 Dec 2004 12:45:25 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cb0Hj-0006nJ-8Q; Sun, 05 Dec 2004 12:34:59 -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 iB5HYvFu020839; Sun, 5 Dec 2004 11:34:58 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iB5HXIX13206; Sun, 5 Dec 2004 11:33:18 -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: <00bb01c4daee$5eb81350$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:30708 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30708 Lennart Borgman wrote: ----- Original Message ----- From: "John Paul Wallington" > > I believe that (load custom-file) is needed in .emacs to get it to work, but > > the documentation does not say so. > > I don't think so. Have you tested whether that is the case? > > AFAICT, Stefan added some code to startup.el on 2002-08-14 to load > custom-file if it hasn't been done in .emacs. Sorry, yes, you are right. custom-file is loaded after .emacs if not done before in CVS Emacs but not in the current release version. I missed that. Yes, but how does it work? As you pointed out in an earlier posting, if you put all your customizations in CUSTOM-FILE, then custom-file is customized in CUSTOM-FILE. How can Stefan's code, referred to above, figure out the value of custom-file? So either you have to put: (load CUSTOM-FILE) or (setq custom-file CUSTOM-FILE) in your .emacs. I do not immmediately see why the latter would be easier or better. Sincerely, Luc.