From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Customize custom-file is not useful as it works now Date: Sun, 05 Dec 2004 09:38:51 -0500 Message-ID: References: <075301c4d9a0$9ef2bf00$0200a8c0@sedrcw11488> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102257833 15318 80.91.229.6 (5 Dec 2004 14:43:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Dec 2004 14:43:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 05 15:43:47 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 1Caxc3-000480-00 for ; Sun, 05 Dec 2004 15:43:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Caxlk-0007A4-MQ for ged-emacs-devel@m.gmane.org; Sun, 05 Dec 2004 09:53:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CaxlU-00079m-1h for emacs-devel@gnu.org; Sun, 05 Dec 2004 09:53:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CaxlT-00079T-BT for emacs-devel@gnu.org; Sun, 05 Dec 2004 09:53:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CaxlT-00079Q-92 for emacs-devel@gnu.org; Sun, 05 Dec 2004 09:53:31 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CaxaN-0008US-8s for emacs-devel@gnu.org; Sun, 05 Dec 2004 09:42:03 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CaxXH-00013j-2X; Sun, 05 Dec 2004 09:38:51 -0500 Original-To: "Lennart Borgman" In-reply-to: <075301c4d9a0$9ef2bf00$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:30694 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30694 If you use customize-variable to change custom-file the value of custom-file will be stored in custom-file. This is of course not useful. This doesn't do the job by itself, but if your .emacs loads that file, it will take effect properly. So it isn't simply wrong. What is needed is an entry in .emacs like (setq custom-file ".custom"). That isn't enough, is it? To make the settings take effect, the user has to load the file which is specified as custom-file. But I hesitate to recommend editing .emacs automatically to do this, since one of the reasons people want to use a separate file is to avoid automatic editing of .emacs. So I documented these issues in the doc string of custom-file.