From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27933: emacs25: default info dir initialization slow with remote filesystems Date: Thu, 14 Apr 2022 15:41:03 +0200 Message-ID: <87lew7n5ow.fsf@gnus.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> <8xy3r0ftb6.fsf@fencepost.gnu.org> <87bkznn2dd.fsf@gnus.org> <8735jxektl.fsf@gnus.org> <87h76xp50o.fsf@gnus.org> <875yndp086.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: rgm@gnu.org, 786707@bugs.debian.org, 27933@debbugs.gnu.org, steve@einval.com, 786707-forwarded@bugs.debian.org, rlb@defaultvalue.org To: "Alfred M. Szmidt" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 14 15:42:10 2022 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 1nezjd-0007vw-2j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Apr 2022 15:42:09 +0200 Original-Received: from localhost ([::1]:35600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nezjb-0000cE-Mn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Apr 2022 09:42:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nezjW-0000c6-8h for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2022 09:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nezjV-0003q5-W3 for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2022 09:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nezjV-0003On-NU for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2022 09:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Apr 2022 13:42: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: moreinfo Original-Received: via spool by 27933-submit@debbugs.gnu.org id=B27933.164994367913008 (code B ref 27933); Thu, 14 Apr 2022 13:42:01 +0000 Original-Received: (at 27933) by debbugs.gnu.org; 14 Apr 2022 13:41:19 +0000 Original-Received: from localhost ([127.0.0.1]:55630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezip-0003Nk-HZ for submit@debbugs.gnu.org; Thu, 14 Apr 2022 09:41:19 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezio-0003NV-7W for 27933@debbugs.gnu.org; Thu, 14 Apr 2022 09:41:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QkcOHogJAnM6wbMNCCk0AAy3YYrG8cDAEJJZtV0Kvoc=; b=UvgPOqsDlkLNvFcUmGepvM2sbT GzQ5OyhrAw9t3NwAE74/hG1rrq2NUvCVgmRMkjd8srq43hEviHMBt7Y1gHb1a1F9yxY9OtfaSwTT9 ogLeUxbD+KAZJFhgejWbhneHwec4gXsei+U+y2KdgyVBKe/4RkqEtb/G0Fi+lVzfC12Y=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nezib-0001wM-F5; Thu, 14 Apr 2022 15:41:07 +0200 In-Reply-To: (Alfred M. Szmidt's message of "Thu, 14 Apr 2022 02:51:56 -0400") 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:229866 Archived-At: "Alfred M. Szmidt" writes: > I've tried to get the same behaviour that I had, namley that of > INFOPATH + Info-default-directory-list (in that order). The only > thing that comes to mind is explicitly calling > Info--default-directory-list to set it up; which doesn't seem very > nice. > > (add-hook 'Info-mode-hook > (lambda () > (setq Info-additional-directory-list > (if (fboundp 'Info--default-directory-list) > (Info--default-directory-list) > Info-default-directory-list)))) Yes, that's basically what I had in mind for people who wants both. But in that case Info--default-directory-list should probably be renamed to `Info-default-directory-list'... > If one could re-do all of this, having Info-additional-directory-list > be initialized to INFOPATH would have made most sense. There can be > very few reasons to delete the default Emacs info directory locations, > and having INFOPATH override those always seemed backwards, and not > what stand-alone Info does -- so while the Emacs documentation says > that one should customize INFOPATH for both, the customizations aren't > really the same :-( Yup. But that'd probably be even less backwards-compatible. > PS. Shouldn't bugs become unarchived when someone replies to an > already archived one? The discussion here is now lost in the ether... Indeed; it's one of the most annoying things about debbugs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no