help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command-line info sees more stuff than Emacs info


From: Luther Thompson
Subject: Re: Command-line info sees more stuff than Emacs info
Date: Tue, 28 Nov 2017 03:49:16 -0500

On Mon, 2017-11-27 at 16:00 +0100, Ludovic Courtès wrote:
> Hi,
> 
> Luther Thompson <address@hidden> skribis:
> 
> > The Emacs info-mode can't see all of the info files on my system. Most
> > notably, it doesn't see coreutils. The command-line info seems to see
> > everything just fine.
> >
> > I'm running Trisquel+Guix. I use the info and coreutils that came with
> > Trisquel, while Emacs is installed with Guix.
> 
> [...]
> 
> > export 
> > INFOPATH="${GUIX_PROFILE:-/gnu/store/38lybr3lz7d2i1pqx9p025jiinxcpa8m-profile}/share/info${INFOPATH:+:}$INFOPATH"
> 
> Most likely the problem is that ‘info’ from Trisquel looks for manuals
> in /usr/share/info by default, where Emacs from Guix does not.
> 
> The fix is to add /usr/share/info to INFOPATH (and/or
> ‘Info-directory-list’ in Emacs.)

Changing INFOPATH does seem to work. I guess Emacs ignores the 'PATH'
component of INFOPATH.

On re-reading about the --directory option [0], I found that to add the
built-in default info directories, I just had to put this line:

export INFOPATH="$INFOPATH:"

...after running the Guix profile. This works for both the stand-alone
info and Emacs info.

Thanks for the help!

Luther

[0]
https://www.gnu.org/software/texinfo/manual/info-stnd/html_node/Invoking-Info.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]