From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luther Thompson Subject: Re: Command-line info sees more stuff than Emacs info Date: Tue, 28 Nov 2017 03:49:16 -0500 Message-ID: <1511858956.5334.9.camel@pentos> References: <1511737214.2196.14.camel@pentos> <87indvlqbi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJi0b-0000LH-MF for help-guix@gnu.org; Tue, 28 Nov 2017 10:41:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJi0W-0004c5-Py for help-guix@gnu.org; Tue, 28 Nov 2017 10:41:17 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:31449) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eJi0W-0004aW-DV for help-guix@gnu.org; Tue, 28 Nov 2017 10:41:12 -0500 Resent-To: help-guix@gnu.org Resent-Message-ID: <871skiza0a.fsf@gnu.org> In-Reply-To: <87indvlqbi.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= On Mon, 2017-11-27 at 16:00 +0100, Ludovic Courtès wrote: > Hi, > > Luther Thompson 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