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 22:02:01 -0600 (CST) Message-ID: <200412060402.iB6421q15173@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> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1102305842 11477 80.91.229.6 (6 Dec 2004 04:04:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2004 04:04:02 +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 05:03:53 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 1CbA6K-0001AX-00 for ; Mon, 06 Dec 2004 05:03:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbAG4-0001hm-3P for ged-emacs-devel@m.gmane.org; Sun, 05 Dec 2004 23:13:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbAFx-0001hL-O8 for emacs-devel@gnu.org; Sun, 05 Dec 2004 23:13:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbAFw-0001ga-9n for emacs-devel@gnu.org; Sun, 05 Dec 2004 23:13:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbAFw-0001gQ-2V for emacs-devel@gnu.org; Sun, 05 Dec 2004 23:13:48 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbA6A-00023u-V6; Sun, 05 Dec 2004 23:03:43 -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 iB643gFu023728; Sun, 5 Dec 2004 22:03:42 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id iB6421q15173; Sun, 5 Dec 2004 22:02:01 -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: <003e01c4db31$e45a2550$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:30743 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30743 Lennart Borgman wrote: I meant that perhaps this things would not matter with proper functions for :set and :get for custom-file. If you just set `custom-file' with a setq in the user's init file, the :set and :get functions will not be called when the user's init file is loaded. So you will have to insert calls to named functions in the user's init file that can be updated whenever Custom changes, without need to update the user's init file. It seems a _lot_ cleaner to just put in a call to "load" in the user's init file and let `custom-set-variables' do all the work. Sincerely, Luc.