GNU bug report logs - #50955
28.0.50; info-look loads slowly due to python info lookup

Previous Next

Package: emacs;

Reported by: Hugo Nobrega <hugonobrega <at> dcc.ufrj.br>

Date: Sat, 2 Oct 2021 02:14:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 50955 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Hugo Nobrega <hugonobrega <at> dcc.ufrj.br>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 50955 <at> debbugs.gnu.org
Subject: Re: bug#50955: 28.0.50; info-look loads slowly due to python info
 lookup
Date: Sat, 02 Oct 2021 16:19:51 +0300
> From: Hugo Nobrega <hugonobrega <at> dcc.ufrj.br>
> Cc: 50955 <at> debbugs.gnu.org
> Date: Sat, 02 Oct 2021 10:07:17 -0300
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> > OK, thanks.  Can you show the value of Info-directory-list, after
> > invoking info-look for the first time?  That should tell us in how
> > many directories does Emacs look for these missing Python manuals.
> 
> `Info-directory-list' is a list of length 208, almost entirely (like 99%)
> populated with paths from the package manager `straight'.

Ouch!  Now I understand why that search takes so long for you.

Not sure what to do about that.  Perhaps we should disable that
python*.info search if Info-directory-list is longer than some
threshold.

Or maybe we could remove the directories where packages are installed
from Info-directory-list, when doing that search?  With package.el, we
could record in some variable the list of directories we add to
Info-directory-list; maybe something similar is possible with
'straight' as well?

Lars, any other ideas?





This bug report was last modified 3 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.