From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Documentation for custom-file - is not (load custom-file) needed? Date: Mon, 06 Dec 2004 13:54:11 -0500 Message-ID: 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1102359324 19854 80.91.229.6 (6 Dec 2004 18:55:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2004 18:55:24 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, jpw@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 06 19:55:09 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 1CbO0r-00019u-00 for ; Mon, 06 Dec 2004 19:55:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbOAc-0002wM-5P for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2004 14:05:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbOAM-0002vQ-RI for emacs-devel@gnu.org; Mon, 06 Dec 2004 14:04:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbOAL-0002uv-TR for emacs-devel@gnu.org; Mon, 06 Dec 2004 14:04:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbOAL-0002ul-QC for emacs-devel@gnu.org; Mon, 06 Dec 2004 14:04:57 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbO0E-0004pO-Vf; Mon, 06 Dec 2004 13:54:31 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 142738282B8; Mon, 6 Dec 2004 13:54:27 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 0540D4AC673; Mon, 6 Dec 2004 13:54:12 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id ADB278CA69; Mon, 6 Dec 2004 13:54:11 -0500 (EST) Original-To: Luc Teirlinck In-Reply-To: <200412061834.iB6IYBu20015@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 6 Dec 2004 12:34:11 -0600 (CST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.913, requis 5, autolearn=not spam, AWL 1.99, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:30761 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30761 > You might be right. It does seem however that the :get and :set functions > don't need to do anything special. > The problem with setting the variable with setq instead of through > `custom-set-variables' is that various standard things like: > (put 'custom-file 'saved-value '("~/mycustomfile")) > and > (custom-push-theme 'theme-value 'custom-file 'user 'set '("~/mycustomfile")) Sure. I wasn't arguing against using `load', just pointing out that it might not be as important as it seems. After all, AFAICT changing custom-file via Custom itself currently just plain doesn't work and it's not clear at all how to make it work. This said, it's indeed probably better to tell people to `load' the custom file rather than to `setq' the `custom-file' variable (among other things because it involves much less magic, and works with Emacs-21.3). Stefan