unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: package-quickstart and info:
Date: Thu, 07 Jan 2021 21:12:04 -0500	[thread overview]
Message-ID: <jwvv9c8kwin.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <p917dooco3a.fsf@google.com> (T. V. Raman's message of "Thu, 07 Jan 2021 15:40:57 -0800")

> 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
>>




      reply	other threads:[~2021-01-08  2:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07 21:14 package-quickstart and info: T.V Raman
2021-01-07 23:16 ` Stefan Monnier
2021-01-07 23:40   ` T.V Raman
2021-01-08  2:12     ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvv9c8kwin.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).