[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkg-autoloads.el vs. pkg-loaddefs.el
From: |
Stefan Monnier |
Subject: |
Re: pkg-autoloads.el vs. pkg-loaddefs.el |
Date: |
Tue, 18 Jun 2024 16:12:42 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> I'd assert more - most users are not aware about the intricacies we
> are talking about here.
That, I can definitely agree with. 🙂
>> Maybe we should provide some alternative for "late activation" which
>> does pass the `reload` argument?
> Maybe. Although I am afraid that having multiple ways to activate
> packages will only confuse people who struggle from the problem most.
I tend to agree. I think we should try and actively discourage users to
get into such situations. I.e. focus on detecting the problem and
report it to the user rather than patching it up.
>> We don't do that by default in an effort to try and keep startup time
>> under control and also because reloading is a hack which works only
>> partly and can even have unpredictable effects, so it's really much
>> better to try and avoid it in the first place.
> May an approach like `require-with-check' be used here? Then, the
> reloading only occurs when there is a potential mixing of package
> versions.
Could be, tho I'm not sure exactly what "an approach like
`require-with-check`" would look like.
Stefan
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Stefan Monnier, 2024/06/14
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/17
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Stefan Monnier, 2024/06/17
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/18
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Stefan Monnier, 2024/06/18
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/18
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Stefan Monnier, 2024/06/18
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/18
- Re: pkg-autoloads.el vs. pkg-loaddefs.el,
Stefan Monnier <=
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/19
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Stefan Monnier, 2024/06/19
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/19
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Stefan Monnier, 2024/06/19
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Eli Zaretskii, 2024/06/20
- Re: pkg-autoloads.el vs. pkg-loaddefs.el, Ihor Radchenko, 2024/06/20