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 18:46:35 -0600 (CST) Message-ID: <200412060046.iB60kZj15003@raven.dms.auburn.edu> References: <075b01c4d9a4$52799460$0200a8c0@sedrcw11488> <00bb01c4daee$5eb81350$0200a8c0@sedrcw11488> <200412051733.iB5HXIX13206@raven.dms.auburn.edu> <000001c4db1a$8d3770f0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102294111 22548 80.91.229.6 (6 Dec 2004 00:48:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2004 00:48:31 +0000 (UTC) Cc: jpw@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 06 01:48:26 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 1Cb73C-000230-00 for ; Mon, 06 Dec 2004 01:48:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cb7Cv-000579-0e for ged-emacs-devel@m.gmane.org; Sun, 05 Dec 2004 19:58:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cb7Cm-000551-JH for emacs-devel@gnu.org; Sun, 05 Dec 2004 19:58:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cb7Cm-00054p-0i for emacs-devel@gnu.org; Sun, 05 Dec 2004 19:58:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cb7Cl-00054m-Vd for emacs-devel@gnu.org; Sun, 05 Dec 2004 19:58: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 1Cb731-00062f-1v; Sun, 05 Dec 2004 19:48:15 -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 iB60mEFu023024; Sun, 5 Dec 2004 18:48:14 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iB60kZj15003; Sun, 5 Dec 2004 18:46:35 -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: <000001c4db1a$8d3770f0$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:30731 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30731 Lennart Borgman wrote: The setq version could have an advantage if you could arrange so that custom-file was just stored in this expression, not in the custom-file. Then the value of custom-file would just be in one place. That would perhaps be possible by changing the :set and :get functions in defcustom for custom-file. I would prefer this. Except that `custom-set-variables' does various stuff that `setq' does not. As a result, certain of the more subtle advantages of saving a variable through Custom would be lost. Of course, the first thing to decide is whether we want to change the code or the documentation. Your code seems complex and there are potential pitfalls. Sincerely, Luc.