all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: local info files and top info directory
Date: Tue, 03 Jan 2012 02:56:14 -0500	[thread overview]
Message-ID: <E1RhzEE-00046j-V2@fencepost.gnu.org> (raw)
In-Reply-To: <87sjjx77zj.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Tue, 03 Jan 2012 11:58:08 +0800)

> From: Eric Abrahamsen <eric@ericabrahamsen.net>
> 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.

> 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).



  parent reply	other threads:[~2012-01-03  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03  3:58 local info files and top info directory Eric Abrahamsen
2012-01-03  6:17 ` Andreas Röhler
2012-01-03  7:56 ` Eli Zaretskii [this message]
2012-01-03 10:34   ` Eric Abrahamsen
2012-01-03 10:40     ` Peter Dyballa
2012-01-03 10:47     ` Jambunathan K
2012-01-03 11:03     ` Eli Zaretskii
2012-01-03 16:21       ` Eric Abrahamsen
2012-01-03 10:29 ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1RhzEE-00046j-V2@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.