[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27933: emacs25: default info dir initialization slow with remote fil
From: |
Lars Ingebrigtsen |
Subject: |
bug#27933: emacs25: default info dir initialization slow with remote filesystems |
Date: |
Thu, 14 Apr 2022 15:41:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
"Alfred M. Szmidt" <ams@gnu.org> 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