#1016877 org-mode-doc: The info documentation doesn't override the version shipped with emacs

#1016877#5
Date:
2022-08-08 17:34:33 UTC
From:
To:
Dear Maintainer,

I was trying to read the info documentation provided by the org-mode-doc
package which matched the version of org mode I was using (9.5.2) but by
default was actually getting the org documentation shipped with emacs
version 9.3.

After digging for a while into how the Info-directory-list variable was
defined, the default looked like the following, and with the 9.5
documentation found in "/usr/share/info".

("/usr/share/emacs/site-lisp/elpa/debian-el-37" "/usr/share/info/emacs"
"/usr/share/info/" "/usr/share/info/")

I tried figure out how to adjust the construction of the
Info-directory-list to put a "/usr/share/info" before the flavor
directory "/usr/share/info/emacs" but couldn't figure it out.

But then I tried to figure out why there was the debian-el-37 directory on
the Info-directory-list path.

What I found is if the info dir file is present in one of the
automatically loaded package directories that directory will be
pre-pended to the Info-directory-list path.

Somehow adding a dir file to
/usr/share/emacs/site-lisp/elpa/org-9.5.2/ causes info to find the newer
version. I'd copied the dir file and a decompressed version of
org.info.gz into /usr/share/info/emacs/site-lisp/elpa/org-9.5.2

Though debian-el might be a better example to follow where the info file
and its dir file are added to the elpa-src directory.

Thanks,
Diane

#1016877#10
Date:
2022-08-08 21:54:18 UTC
From:
To:
Diane Trout <diane@ghic.org> writes:

Although that's my doing (I think) I have to note that it makes the info
files inaccessible to /usr/bin/info, so might not be an ideal solution.

d