GNU bug report logs - #16407
Info-directory-list should always put this Emacs's info direc first

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Fri, 10 Jan 2014 05:47:02 UTC

Severity: minor

Tags: moreinfo

Found in version 24.3

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16407 <at> debbugs.gnu.org
Subject: Re: bug#16407: Info-directory-list should always put this Emacs's
 info direc first
Date: Sat, 23 Apr 2022 16:28:19 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> The initialization of Info-directory-list is rather complicated.
> Part of it uses this logic:
>
>    Therefore, the directory of Info files that come with Emacs normally
>    should come last (so that local files override standard ones), unless
>    Emacs is installed into a non-standard directory. In the latter case,
>    the directory of Info files that come with Emacs should be first in
>    this list.
>
> I don't think this logic makes sense any more. I think the directory of
> Info files that come with Emacs should *always* be placed at the front of
> the result

I agree completely.

The info setup is pretty convoluted, so I'm not quite sure what the
current state is.  This is the default value in "emacs -Q" in Emacs 29:

Info-directory-list
("/home/larsi/src/emacs/trunk/info/" "/usr/share/info/")

But it's with an uninstalled Emacs.  Reading Info-default-dirs, it looks
like it's trying to do the right thing?  So has this been solved already
at some point?

> (even before INFOPATH entries).

But I'm not sure about that.  I don't think distributions set that by
default, but users do to alter stuff, so we should respect it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 364 days ago.

Previous Next


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