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? -- Thanks, --Raman ♉ Id: kg:/m/0285kf1 🦮 -- Thanks, --Raman ♉ Id: kg:/m/0285kf1 🦮
> 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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset=gb18030, Size: 1146 bytes --] 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
> Given that this is all happening from early-init.el, I suspect info > always gets loaded. Hmm... I don't understand how that relates to what I said, Stefan >>> 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 >>