[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package-quickstart and info:
From: |
T.V Raman |
Subject: |
Re: package-quickstart and info: |
Date: |
Thu, 07 Jan 2021 15:40:57 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Given that this is all happening from early-init.el, I suspect info
always gets loaded.
>> While debugging something else with force-load-messages set to t, I
>> noticed that loading package-quickstart.el loads info -- is there a
>> good reason for this?
>
> IIRC when a package includes an Info manual, we load `info` before
> modifying the `Info-directory-list`. This could be improved to avoid
> loading `info`.
>
> The place where this happens in the non-quickstart case is
> `package-activate-1` and in `package-quickstart-refresh` you can see
> similar code being added to the quickstart file.
>
> IIRC the problem is that depending on whether
> `info-initialize` has already been called or not, we need to add the
> directory either to `Info-directory-list` or to
> `Info-default-directory-list`.
>
> Patches welcome (and if you need more info about the precise
> relationship between those two Info*directory-list vars, I think Eli is
> the one who knows all about it).
>
>
> Stefan
>
--
Thanks,
--Raman
?7?4 Id: kg:/m/0285kf1 ?0?8