From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Autoloaded defcustoms Date: Tue, 06 Jan 2009 13:20:57 -0500 Message-ID: References: <87r63g3238.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231266145 13849 80.91.229.12 (6 Jan 2009 18:22:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2009 18:22:25 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org To: "Lennart Borgman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 06 19:23:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LKGaK-0001cX-Ea for ged-emacs-devel@m.gmane.org; Tue, 06 Jan 2009 19:23:24 +0100 Original-Received: from localhost ([127.0.0.1]:59224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKGZ4-0002QG-Im for ged-emacs-devel@m.gmane.org; Tue, 06 Jan 2009 13:22:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKGY5-0001s2-KV for emacs-devel@gnu.org; Tue, 06 Jan 2009 13:21:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKGY3-0001qu-Js for emacs-devel@gnu.org; Tue, 06 Jan 2009 13:21:04 -0500 Original-Received: from [199.232.76.173] (port=50874 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKGY3-0001ql-DV for emacs-devel@gnu.org; Tue, 06 Jan 2009 13:21:03 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37692) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKGY3-00057h-0H for emacs-devel@gnu.org; Tue, 06 Jan 2009 13:21:03 -0500 Original-Received: from alfajor.home (vpn-132-204-232-34.acd.umontreal.ca [132.204.232.34]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n06IKwu5005476; Tue, 6 Jan 2009 13:20:59 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id C9F861C83E; Tue, 6 Jan 2009 13:20:57 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Tue, 6 Jan 2009 16:17:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3183=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: news.gmane.org gmane.emacs.devel:107648 Archived-At: >> Why do you need to run custom-set-variables before custom-autoload? > This could be during startup of Emacs. There is nothing that says > custom-set-variables should be the last thing there. (And default.el > is run afterwards.) autoloads go in site-start.el and/or at the beginning of the .emacs. Otherwise, anything in the .emacs that relies on these autoloads will fail. > I have seen this happen. Is there any reason not to handle the problem > the way I suggested? I think your suggestion was a bit succint. Could you explain what would be the result of your change? Stefan