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: Autoloading of defcustoms etc Date: Sun, 09 Jan 2005 16:38:38 -0500 Message-ID: <874qhqi8vp.fsf-monnier+emacs@gnu.org> References: <002a01c4f42b$c5374000$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105368267 1063 80.91.229.6 (10 Jan 2005 14:44:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2005 14:44:27 +0000 (UTC) Cc: Lennart Borgman , abraham@dina.kvl.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 10 15:44:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Co0mF-0008Lf-00 for ; Mon, 10 Jan 2005 15:44:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Co0xk-0002kP-Ck for ged-emacs-devel@m.gmane.org; Mon, 10 Jan 2005 09:56:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Co0vS-00025a-Hb for emacs-devel@gnu.org; Mon, 10 Jan 2005 09:53:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Co0vG-0001zm-C4 for emacs-devel@gnu.org; Mon, 10 Jan 2005 09:53:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Co0vF-0001rj-1X for emacs-devel@gnu.org; Mon, 10 Jan 2005 09:53:33 -0500 Original-Received: from [209.226.175.62] (helo=toq6-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Co0fV-0007oA-3A; Mon, 10 Jan 2005 09:37:17 -0500 Original-Received: from alfajor ([67.71.119.166]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050109213838.RROF2026.tomts5-srv.bellnexxia.net@alfajor>; Sun, 9 Jan 2005 16:38:38 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 691EFD731E; Sun, 9 Jan 2005 16:38:38 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 08 Jan 2005 22:22:56 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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:32094 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32094 > Per A wrote this in another thread. I have taken a look at this and got > helpful feedback from Per. My suggestion is that autoload.el autoloads all > defcustom, define-minor-mode, defface and defgroup whether they are marked > for autoloading or not. > This is clearly an improvement, if we don't consider > the bloating that it would cause. Taking that bloat into account, > perhaps this costs too much. It can also introduce subtle bugs because it could change the time at which the defcustoms will be executed. We've lived pretty happily with the current "problem" of not having all vars available unless you load the corresponding package, so I'd rather postpone this change to after the next release. Stefan