[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#30854: 27.0.50; Speeding up package.el startup
From: |
Stefan Monnier |
Subject: |
Re: bug#30854: 27.0.50; Speeding up package.el startup |
Date: |
Mon, 21 Dec 2020 13:58:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I can also udate "user" functions of package.el (package-list,
> package-refresh-contents etc) to check if package.el is initialized, and
> if not they could call package-initialize on behalf of user, so end users
> does not need to call pacakge-initialize themselves, neither in init
> file or interactively. As I see now, some of them already do so, some don't.
Indeed some calls to `package-initialize` are probably still missing.
[ I don't know what you mean by `package-list`, OTOH. ]
Sometimes rather than add a call to it, it's better to rework the code
so it doesn't require `package-initialize` to run before, tho.
E.g. I can't see why `package-refresh-contents` would need
`package-initialize` to run before it can do its job.
Stefan
- Re: bug#30854: 27.0.50; Speeding up package.el startup, (continued)
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/20
- RE: bug#30854: 27.0.50; Speeding up package.el startup, arthur miller, 2020/12/20
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Kangas, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup,
Stefan Monnier <=
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/22
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Stefan Monnier, 2020/12/22