unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: karl@freefriends.org (Karl Berry)
Cc: 6859@debbugs.gnu.org
Subject: bug#6859: [rob.dickens@lafros.com: corrected .emacs snippet for merging your own Info files]
Date: Mon, 16 Aug 2010 14:30:18 -0400	[thread overview]
Message-ID: <rrk4nqtnph.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <201008142223.o7EMNRi1001978@f7.net> (Karl Berry's message of "Sat\, 14 Aug 2010 22\:23\:27 GMT")


> * currently:
>
> (require 'info)
> (setq Info-directory-list
>       (cons (expand-file-name "/home/bob/info")
>             Info-directory-list))

That has been incorrect since at least Emacs 21.4 (I didn't look at
older versions).

> * should be:
>
> (add-hook 'Info-mode-hook
> 	  '(lambda ()
> 	     (add-to-list 'Info-directory-list
> 			  (expand-file-name "~/info"))))

That will work, but the advice in doc/misc/info.texi in Emacs seems
better:

  If you wish to customize the Info directory search list for both
  Emacs Info and stand-alone Info, it is best to set the
  @env{INFOPATH} environment variable, since that applies to both
  programs.

Then you don't have to worry about Emacs-specific stuff in the texinfo
documentation.





  reply	other threads:[~2010-08-16 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-14 22:23 bug#6859: [rob.dickens@lafros.com: corrected .emacs snippet for merging your own Info files] Karl Berry
2010-08-16 18:30 ` Glenn Morris [this message]
2010-09-01 18:14   ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=rrk4nqtnph.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=6859@debbugs.gnu.org \
    --cc=karl@freefriends.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).