all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: package.el should be preloaded
Date: Sat, 30 Oct 2010 20:09:48 -0400	[thread overview]
Message-ID: <87iq0j2pf7.fsf@stupidchicken.com> (raw)
In-Reply-To: <jwvwrp2gzve.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 28 Oct 2010 10:24:54 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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.

I looked into this, but it turns out that most of package.el would need
to be preloaded.  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.



  reply	other threads:[~2010-10-31  0:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28  7:41 package.el should be preloaded Glenn Morris
2010-10-28  7:57 ` Glenn Morris
2010-10-28 14:24   ` Stefan Monnier
2010-10-31  0:09     ` Chong Yidong [this message]
2010-11-01  1:20       ` Stefan Monnier
2010-11-01 15:01         ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iq0j2pf7.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.