From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: local info files and top info directory Date: Tue, 03 Jan 2012 18:34:35 +0800 Message-ID: <87d3b16pms.fsf@ericabrahamsen.net> References: <87sjjx77zj.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1325586903 10563 80.91.229.12 (3 Jan 2012 10:35:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 10:35:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 03 11:34:59 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri1hq-0008SC-0m for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jan 2012 11:34:58 +0100 Original-Received: from localhost ([::1]:56069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1hp-0008Om-6q for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jan 2012 05:34:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1hk-0008Og-DG for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1he-0001ty-5X for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:52 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:54301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1hd-0001tt-Ru for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:46 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri1hc-0008Of-Ai for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 11:34:44 +0100 Original-Received: from 114.250.131.168 ([114.250.131.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 11:34:44 +0100 Original-Received: from eric by 114.250.131.168 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 11:34:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.131.168 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:Jpk+i/b1Oemcio2RodaytK5YeS0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83305 Archived-At: On Tue, Jan 03 2012, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Date: Tue, 03 Jan 2012 11:58:08 +0800 >> >> I use a lot of development versions of emacs packages (gnus, org, magit, >> auctex, emms, etc), and keep them all under ~/.emacs.d. I've also got >> ~/.emacs.d/info, where I symlink those packages' info files, then I add >> it to the info directories like so: >> >> (add-to-list 'Info-default-directory-list "~/.emacs.d/info") >> >> This works, except that when I run `info' and it composes the main Info >> directory, the info files of some of the packages (gnus, org) show up in >> the directory listing, while others (magit, auctex, emms) don't. >> >> I'm able to reach all of the symlinked info files via >> `info-display-manual', so I know it's not a problem with the files >> themselves, or the info reader. I've looked at the info files and, with >> my limited understanding of info, can't see why one would make a >> directory entry and another wouldn't. > > In your ~/.emacs.d/info directory, there should be a file named `dir' > or `DIR'. Its contents, and only its contents, are added to the main > Info directory when Emacs composes it. Emacs does not look at the > info files themselves, just in the DIR files it finds in every > directory that is in Info-default-directory-list. Nope, there's nothing in there but the symlinked info files. Info is definitely able to find them, though, so it doesn't seem like this is the main problem. >> I'm suspecting the `make' process: for all these packages I generally do >> configure/make, but no "make install", and then add the lisp dirs, if >> any, to my load path. My best guess is that something in the make >> process adds a listing to the directory, and for some of the packages >> that happens on "make", and for others on "make install". Should the >> `install-info' command line command come into play at all? > > Yes, you should run install-info on every info file you add to your > ~/.emacs.d/info directory (only the main info files count; e.g., if > you have foo.info, foo.info-1, and foo.info-2, then only run > install-info on foo.info). Huh, that worked! I made my own DIR file and pointed install-info at it, and everything worked okay except for bbdb.info, which apparently contains "no info dir entry". I still wonder how the other packages were able to list their info files, but no matter, this will do! Thanks, Eric -- GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2011-12-29 on pellet