GNU bug report logs - #6859
[rob.dickens@lafros.com: corrected .emacs snippet for merging your own Info files]

Previous Next

Package: emacs;

Reported by: karl <at> freefriends.org (Karl Berry)

Date: Sat, 14 Aug 2010 22:23:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6859 in the body.
You can then email your comments to 6859 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6859; Package emacs. (Sat, 14 Aug 2010 22:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to karl <at> freefriends.org (Karl Berry):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 14 Aug 2010 22:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: karl <at> freefriends.org (Karl Berry)
To: bug-emacs <at> gnu.org
Subject: [rob.dickens <at> lafros.com: corrected .emacs snippet for merging your
	own Info files]
Date: Sat, 14 Aug 2010 22:23:27 GMT
I received this report on bug-texinfo.  Is this correct?  If so, it
seems sad that a recommendation that has been around forever (the
"currently" in Rob's msg) no longer works, but if it has to be, it has
to be.  Please advise ...

Thanks,
Karl


Date: Fri, 13 Aug 2010 14:30:54 +0100
From: Rob Dickens <rob.dickens <at> lafros.com>
To: bug-texinfo <at> gnu.org
Subject: corrected .emacs snippet for merging your own Info files

Dear maintainer,

I found that what's suggested in the following section of the Texinfo manual doesn't work:

21.2.3 Info Files in Other Directories

* currently:

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

* should be:

(add-hook 'Info-mode-hook
	  '(lambda ()
	     (add-to-list 'Info-directory-list
			  (expand-file-name "~/info"))))

Best regards,

Rob
http://lafros.com




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6859; Package emacs. (Mon, 16 Aug 2010 18:30:03 GMT) Full text and rfc822 format available.

Message #8 received at 6859 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: karl <at> freefriends.org (Karl Berry)
Cc: 6859 <at> debbugs.gnu.org
Subject: Re: bug#6859: [rob.dickens <at> lafros.com: corrected .emacs snippet for
	merging your own Info files]
Date: Mon, 16 Aug 2010 14:30:18 -0400
> * 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 sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 01 Sep 2010 18:14:01 GMT) Full text and rfc822 format available.

Notification sent to karl <at> freefriends.org (Karl Berry):
bug acknowledged by developer. (Wed, 01 Sep 2010 18:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 6859-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6859-done <at> debbugs.gnu.org
Subject: Re: bug#6859: [rob.dickens <at> lafros.com: corrected .emacs snippet for
	merging your own Info files]
Date: Wed, 01 Sep 2010 14:14:41 -0400
I am closing this because there does not seem to be an Emacs bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Sep 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.