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: Sun, 31 Oct 2010 21:20:18 -0400 Message-ID: References: <8htyk6zrvp.fsf@fencepost.gnu.org> <87iq0j2pf7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288575065 27655 80.91.229.12 (1 Nov 2010 01:31:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Nov 2010 01:31:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 01 02:31:01 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 1PCjEi-0002k6-UU for ged-emacs-devel@m.gmane.org; Mon, 01 Nov 2010 02:31:01 +0100 Original-Received: from localhost ([127.0.0.1]:35278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCjEi-0002EJ-8J for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2010 21:31:00 -0400 Original-Received: from [140.186.70.92] (port=57200 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCj4p-0000EM-DS for emacs-devel@gnu.org; Sun, 31 Oct 2010 21:21:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCj4O-0003L3-F2 for emacs-devel@gnu.org; Sun, 31 Oct 2010 21:20:46 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:41746 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCj4O-0003Kr-A8 for emacs-devel@gnu.org; Sun, 31 Oct 2010 21:20:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskIACeyzUxFpZAX/2dsb2JhbACgSXxyuHmFRASSKw X-IronPort-AV: E=Sophos;i="4.58,269,1286164800"; d="scan'208";a="81221846" Original-Received: from 69-165-144-23.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.23]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 31 Oct 2010 21:20:19 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E4F06A8621; Sun, 31 Oct 2010 21:20:18 -0400 (EDT) In-Reply-To: <87iq0j2pf7.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 30 Oct 2010 20:09:48 -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:132228 Archived-At: > I looked into this, but it turns out that most of package.el would need > to be preloaded. That's really strange. The code needed at startup shouldn't need to be that large. Of course, that was part of the reason why I want(ed) all the job of finding which packages to load in which order to be done "offline" rather than at startup. > Instead, I tweaked the code startup.el to check more aggressively for > local package directories, so that package.el won't be loaded if no > packages are installed. It's better than nothing, but we'll need a better answer as soon as people get used to installing packages, such that the "no installed package" case becomes rare. Stefan