* Command-line info sees more stuff than Emacs info
@ 2017-11-26 23:00 Luther Thompson
2017-11-27 15:00 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Luther Thompson @ 2017-11-26 23:00 UTC (permalink / raw)
To: help-guix
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.
I would expect both info and Emacs to use the same INFOPATH environment
variable. Here are the relevant lines from ~/.profile:
export INFOPATH=PATH
...
GUIX_PROFILE="$HOME/.guix-profile" ; source "$HOME/.guix-profile/etc/profile"
And the relevant line from ~/.guix-profile/etc/profile:
export INFOPATH="${GUIX_PROFILE:-/gnu/store/38lybr3lz7d2i1pqx9p025jiinxcpa8m-profile}/share/info${INFOPATH:+:}$INFOPATH"
Thanks for any help,
Luther
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Command-line info sees more stuff than Emacs info
2017-11-26 23:00 Command-line info sees more stuff than Emacs info Luther Thompson
@ 2017-11-27 15:00 ` Ludovic Courtès
2017-11-28 8:49 ` Luther Thompson
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-11-27 15:00 UTC (permalink / raw)
To: Luther Thompson; +Cc: help-guix
Hi,
Luther Thompson <lutheroto@gmail.com> 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.)
Could you check whether that solves the problem?
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Command-line info sees more stuff than Emacs info
2017-11-27 15:00 ` Ludovic Courtès
@ 2017-11-28 8:49 ` Luther Thompson
0 siblings, 0 replies; 3+ messages in thread
From: Luther Thompson @ 2017-11-28 8:49 UTC (permalink / raw)
To: Ludovic Courtès
On Mon, 2017-11-27 at 16:00 +0100, Ludovic Courtès wrote:
> Hi,
>
> Luther Thompson <lutheroto@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-28 15:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-26 23:00 Command-line info sees more stuff than Emacs info Luther Thompson
2017-11-27 15:00 ` Ludovic Courtès
2017-11-28 8:49 ` Luther Thompson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.