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, 13 Dec 2004 09:55:00 -0600 (CST) Message-ID: <200412131555.iBDFt0923015@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> <200412070539.iB75dV924747@raven.dms.auburn.edu> <200412090220.iB92KHR16407@raven.dms.auburn.edu> <874qiusno3.fsf@jurta.org> <00d101c4ded0$37cad4e0$0200a8c0@sedrcw11488> <87653am6wd.fsf-monnier+emacs@gnu.org> <00e301c4dee7$283b19b0$0200a8c0@sedrcw11488> <200412130349.iBD3nMQ21137@raven.dms.auburn.edu> <87brcyk39w.fsf@jurta.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102953820 6592 80.91.229.6 (13 Dec 2004 16:03:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Dec 2004 16:03:40 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 13 17:03:31 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 1Cdsfa-0007RM-00 for ; Mon, 13 Dec 2004 17:03:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cdspg-0004fe-P0 for ged-emacs-devel@m.gmane.org; Mon, 13 Dec 2004 11:13:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cdsnm-0002td-0D for emacs-devel@gnu.org; Mon, 13 Dec 2004 11:11:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cdsni-0002qn-9W for emacs-devel@gnu.org; Mon, 13 Dec 2004 11:11:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cdsnh-0002nV-Ba for emacs-devel@gnu.org; Mon, 13 Dec 2004 11:11: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 1CdsZH-0005AR-AP for emacs-devel@gnu.org; Mon, 13 Dec 2004 10:56: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 iBDFuwFu006356; Mon, 13 Dec 2004 09:56:58 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iBDFt0923015; Mon, 13 Dec 2004 09:55:00 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: juri@jurta.org In-reply-to: <87brcyk39w.fsf@jurta.org> (message from Juri Linkov on Mon, 13 Dec 2004 11:01:12 +0200) 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:31070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31070 Juri Linkov wrote: For the user there are two separate issues here: setting the file name where customize will save customized variables, and loading a file with user settings (i.e. an init file like ~/.emacs, but in another location). If you want to load a file and not make it the custom file, there is no problem. I _was_ wondering whether there might be any situations where one might want Custom to write, by default, to a file, which one does not always want loaded. I believe it should be possible to disable automatic loading of the custom file. So we need a variable `custom-file-loaded', which can be defined with a defvar. The user would do: (setq custom-file ...) (load ...) (setq custom-file-loaded t) This would only be necessary for a small minority of users. Should Stefan's feature cause too much problems, then it could still be reversed. It is not part of any released version and if the user is editing his .emacs, then typing an extra `(load ...)' is not that much extra work, especially since this normally only needs to be done with a new Emacs release. Sincerely, Luc.