From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: custom-reevaluate-setting / custom-initialize-delay Date: Wed, 24 Feb 2010 13:58:53 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267042268 11746 80.91.229.12 (24 Feb 2010 20:11:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 20:11:08 +0000 (UTC) Cc: David Reitter , "emacs-devel@gnu.org discussions" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 24 21:11:04 2010 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.69) (envelope-from ) id 1NkNZP-00018y-Ng for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2010 21:10:56 +0100 Original-Received: from localhost ([127.0.0.1]:33544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkNG5-0001hZ-1D for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2010 14:50:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkMRj-0006r1-Nj for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:58:55 -0500 Original-Received: from [199.232.76.173] (port=35538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkMRj-0006ql-Bp for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:58:55 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NkMRi-0004wZ-25 for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:58:55 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:33132) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NkMRh-0004wV-SF for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:58:53 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NkMRh-0008Hi-Jq; Wed, 24 Feb 2010 13:58:53 -0500 X-Spook: War on Terrorism halcon Project Monarch keyhole sweep AMW X-Ran: .a?)\8/]pEYoW}>j.b=e3e14$IhzcojN)Fz?*PI<>*~H~ercEA6OeZc\[*k?jV9YF~[{NR X-Hue: cyan X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:121345 Archived-At: Stefan Monnier wrote: > The problem is for customization variables which use > custom-initialize-delay and are autoloaded, because autoload.el ends up > stripping away the custom-initialize-delay. > > So either we should fix autoload.el to handle this correctly or we > should not use ;;;###autoload on such defcustom. It's up to you of course, but IMO since this only affects one variable, just fixing it "by hand" with a manual autoload of custom-initialize-delay (together with a doc-fix for said function) seems fine for 23.2. Sendmail.el already manually autoloads the saved-value property for some years for similar reasons.