From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50955: 28.0.50; info-look loads slowly due to python info lookup Date: Sat, 02 Oct 2021 16:19:51 +0300 Message-ID: <83lf3bbm2w.fsf@gnu.org> References: <87r1d4nsjp.fsf@gmail.com> <83czondigl.fsf@gnu.org> <87sfxjsiq5.fsf@gmail.com> <83o887bn6r.fsf@gnu.org> <87tuhzfud6.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27031"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50955@debbugs.gnu.org To: Hugo Nobrega , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 02 15:25:42 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mWf1K-0006os-7e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 15:25:42 +0200 Original-Received: from localhost ([::1]:35462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWf1J-0003mt-BL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 09:25:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWewo-0007AP-6J for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWewn-0003hd-UB for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWewn-00029U-Iz for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 09:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50955 X-GNU-PR-Package: emacs Original-Received: via spool by 50955-submit@debbugs.gnu.org id=B50955.16331808288212 (code B ref 50955); Sat, 02 Oct 2021 13:21:01 +0000 Original-Received: (at 50955) by debbugs.gnu.org; 2 Oct 2021 13:20:28 +0000 Original-Received: from localhost ([127.0.0.1]:58239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWewG-00028O-8R for submit@debbugs.gnu.org; Sat, 02 Oct 2021 09:20:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWewE-00028B-HQ for 50955@debbugs.gnu.org; Sat, 02 Oct 2021 09:20:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52784) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWew7-0006YN-LH; Sat, 02 Oct 2021 09:20:20 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1667 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWevw-00038t-DJ; Sat, 02 Oct 2021 09:20:19 -0400 In-Reply-To: <87tuhzfud6.fsf@gmail.com> (message from Hugo Nobrega on Sat, 02 Oct 2021 10:07:17 -0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216147 Archived-At: > From: Hugo Nobrega > Cc: 50955@debbugs.gnu.org > Date: Sat, 02 Oct 2021 10:07:17 -0300 > > Eli Zaretskii 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?