unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Arthur Miller <arthur.miller@live.com>
Cc: Stefan Kangas <stefankangas@gmail.com>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: bug#30854: 27.0.50; Speeding up package.el startup
Date: Mon, 21 Dec 2020 15:03:46 -0500	[thread overview]
Message-ID: <jwv1rfjaqcx.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AM0PR06MB6577A65497EF4D8B8441D71E96C00@AM0PR06MB6577.eurprd06.prod.outlook.com> (Arthur Miller's message of "Mon, 21 Dec 2020 20:45:17 +0100")

> Maybe I missunderstand how it works; but can user activate packages
> before the end of early-init.el if they don't require package.el?

Of course, they can just call `package-activate-all`.

> Wouldn't it be contradictory to the idea of quickstart?

This is orthogonal to `package-quickstart`.

> I just hacked things with the least effort possible :-). This was the
> smallest change I was able to come up with atm.

Yes, I still have to sleep on it, I think, but I'm beginning to like the idea.

> I don't see why someone would not want to use quickstart?  So as a
> thought: why not make quickstart normal mode how package loading works?

Yes, I think we should.  But for that we need to make sure the
quickstart file is properly recreated every time it's needed.

There might also be situations where that can't be done, tho: e.g. if
`package-directory-list` includes a directory maintained by the
sysadmin, then we won't be told when packages get
installed/removed/upgraded in that directory.  To handle such a case
we'd have to either disable quickstart altogether or add some kind of
"freshness" check at startup before using the quickstart file.


        Stefan




  reply	other threads:[~2020-12-21 20:03 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 10:56 bug#30854: 27.0.50; Speeding up package.el startup arthur.miller
2020-12-18 15:02 ` Stefan Monnier
2020-12-18 16:05   ` arthur.miller
2020-12-18 16:37     ` Stefan Monnier
2020-12-18 22:58       ` Basil L. Contovounesios
2020-12-18 23:26         ` Stefan Monnier
2020-12-19 16:34       ` arthur.miller
2020-12-19 17:59         ` Stefan Monnier
2020-12-19 18:23           ` Stefan Kangas
2020-12-19 20:56             ` Stefan Monnier
2020-12-20  2:47               ` Pankaj Jangid
2020-12-20 14:23               ` Arthur Miller
2020-12-20 14:52                 ` Stefan Monnier
2020-12-20 15:13                   ` Arthur Miller
2020-12-20 17:16                     ` Stefan Monnier
2020-12-20 22:23                       ` arthur miller
2020-12-20 23:35                       ` arthur miller
2020-12-20 23:44                         ` Stefan Monnier
2020-12-20 23:46                           ` arthur miller
2020-12-21 16:32                           ` Arthur Miller
2020-12-21 17:11                             ` Stefan Kangas
2020-12-21 17:32                               ` Arthur Miller
2020-12-21 18:16                                 ` Arthur Miller
2020-12-21 18:58                                   ` Stefan Monnier
2020-12-21 19:51                                     ` Arthur Miller
2020-12-21 18:31                                 ` Stefan Monnier
2020-12-21 19:45                                   ` Arthur Miller
2020-12-21 20:03                                     ` Stefan Monnier [this message]
2020-12-21 20:58                                       ` Arthur Miller
2020-12-21 22:14                                         ` Stefan Monnier
2020-12-21 23:15                                           ` Arthur Miller
2020-12-22  3:35                                             ` Stefan Monnier
2020-12-22 11:03                                               ` Arthur Miller
2020-12-22 14:50                                                 ` Stefan Monnier
2020-12-22 16:55                                                   ` Arthur Miller
2020-12-22 17:20                                                     ` Stefan Monnier
2020-12-22 18:24                                                       ` Arthur Miller
2020-12-22 19:44                                                         ` Stefan Monnier
2020-12-22 20:45                                                           ` Arthur Miller
2020-12-20 23:45                       ` arthur miller
2020-12-19 21:12             ` arthur miller
2020-12-19 21:16             ` arthur miller

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv1rfjaqcx.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=arthur.miller@live.com \
    --cc=emacs-devel@gnu.org \
    --cc=stefankangas@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).