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: package.el should be preloaded Date: Thu, 28 Oct 2010 10:24:54 -0400 Message-ID: References: <8htyk6zrvp.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288275909 15287 80.91.229.12 (28 Oct 2010 14:25:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 14:25:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 28 16:25:08 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 1PBTPf-00011s-MQ for ged-emacs-devel@m.gmane.org; Thu, 28 Oct 2010 16:25:07 +0200 Original-Received: from localhost ([127.0.0.1]:57873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBTPe-0003RQ-Bz for ged-emacs-devel@m.gmane.org; Thu, 28 Oct 2010 10:25:06 -0400 Original-Received: from [140.186.70.92] (port=34906 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBTPU-0003QY-9C for emacs-devel@gnu.org; Thu, 28 Oct 2010 10:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBTPT-00019H-BN for emacs-devel@gnu.org; Thu, 28 Oct 2010 10:24:56 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59891 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBTPT-00019D-8F; Thu, 28 Oct 2010 10:24:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwKAC4kyUxFxL/T/2dsb2JhbACgTHxyvzyFSASJZIhG X-IronPort-AV: E=Sophos;i="4.58,252,1286164800"; d="scan'208";a="80908415" Original-Received: from 69-196-191-211.dsl.teksavvy.com (HELO pastel.home) ([69.196.191.211]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2010 10:24:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6A06BA8558; Thu, 28 Oct 2010 10:24:54 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Thu, 28 Oct 2010 03:57:37 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132162 Archived-At: > This was briefly mentioned before > http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00634.html > But it is loaded in every normal startup, whether or not I have any > packages installed. Surely it is impossible to tell if I have any > packages to load without loading package.el to search for them; so I > don't see any reason not to preload it. I agree we should preload it. But we should do it by splitting the part that need to be preloaded into package-hooks.el. Stefan