From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#27933: emacs25: default info dir initialization slow with remote filesystems Date: Thu, 03 Aug 2017 13:35:25 -0400 Message-ID: <8xy3r0ftb6.fsf@fencepost.gnu.org> References: <20150524155316.28851.58585.reportbug@tack.local> <87bmnweopv.fsf@trouble.defaultvalue.org> <7r60e4d5zj.fsf@fencepost.gnu.org> <20170803163935.4gchv7tmtqnrh4em@tack.einval.com> <20170803164913.wkuvwws3ry4l4ofy@tack.einval.com> <83r2wsy35x.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501781772 2090 195.159.176.226 (3 Aug 2017 17:36:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2017 17:36:12 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 27933@debbugs.gnu.org, 786707@bugs.debian.org, rlb@defaultvalue.org, 786707-forwarded@bugs.debian.org, Steve McIntyre To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 03 19:36:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddK2V-0008S8-OP for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2017 19:36:03 +0200 Original-Received: from localhost ([::1]:35641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddK2b-000064-FS for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2017 13:36:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddK2V-00005p-3Q for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 13:36:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddK2U-0001o9-CX for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 13:36:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddK2U-0001nv-8L for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddK2T-0004wf-Tb for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 13:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Aug 2017 17:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27933 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27933-submit@debbugs.gnu.org id=B27933.150178174618985 (code B ref 27933); Thu, 03 Aug 2017 17:36:01 +0000 Original-Received: (at 27933) by debbugs.gnu.org; 3 Aug 2017 17:35:46 +0000 Original-Received: from localhost ([127.0.0.1]:40316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddK2D-0004w8-SI for submit@debbugs.gnu.org; Thu, 03 Aug 2017 13:35:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddK2B-0004vu-Jw for 27933@debbugs.gnu.org; Thu, 03 Aug 2017 13:35:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddK25-0001NH-Cs for 27933@debbugs.gnu.org; Thu, 03 Aug 2017 13:35:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddK1v-0001Db-63; Thu, 03 Aug 2017 13:35:27 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ddK1u-0005xP-1h; Thu, 03 Aug 2017 13:35:26 -0400 X-Spook: Janet Reno Tremor Metro Biological infection National X-Ran: 1!M+vMTYatCr(.uabM,;`'M|a2S\-P$;@K6,w=X~x>TT3uv3$A+}'#ZXEEg3Drhd>C}Ln\ X-Hue: blue X-Attribution: GM In-Reply-To: <83r2wsy35x.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 Aug 2017 20:25:14 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135290 Archived-At: Eli Zaretskii wrote: >> >2. Why on earth is emacs checking the info path at all on startup? > > It doesn't do that here, not in the current development sources. > After I start "emacs -Q", (featurep 'info) evaluates to nil and > Info-directory-list is unbound. Info-default-directory-list, which is the thing that stats the filesystem, is autoloaded. This area seems overly complicated, probably due to hysterical raisins. IIRC we've discussed it before. >> >3. The documentation talks about setting INFOPATH in the environment >> > to over-ride the use of this default directory list, but again >> > using strace I can see no change to behaviour here at all if I set >> > INFOPATH The default still gets set, just not used. You might wonder, why bother setting something that's not used... Ideally Info-default-directory-list would go away. leaving only Info-directory-list initialized in a standard fashion. But I haven't looked at the details.