[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#30854: 27.0.50; Speeding up package.el startup
From: |
Arthur Miller |
Subject: |
Re: bug#30854: 27.0.50; Speeding up package.el startup |
Date: |
Mon, 21 Dec 2020 20:51:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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.
I was just looking hastily through the list of autloaded interactive
functions, but you are correct, it does not need it.
- RE: bug#30854: 27.0.50; Speeding up package.el startup, (continued)
- 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, 2020/12/21
- Re: bug#30854: 27.0.50; Speeding up package.el startup,
Arthur Miller <=
- 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
- Re: bug#30854: 27.0.50; Speeding up package.el startup, Arthur Miller, 2020/12/22