tags 446376 - moreinfo thanks Reuben Thomas <[EMAIL PROTECTED]> writes:
>> (a) the environment variable INFOPATH is set, or > > This is correct, I do. This seems to be the problem. However, I'm not > sure how to get around it. I set INFOPATH because I install some > programs in my home directory. I can't find a way to discover the > system's implicit INFOPATH, other than: > > strings /usr/bin/info|grep /usr/local > > but this of course does not include the emacs-22 directories. > > Hence, I can't see how to both set an INFOPATH (needed for my > user-installed programs) and still have access from within Emacs to > the emacs-22/* files. Why not include the emacs-22 directory in the INFOPATH list? If you don't want to do it for all info readers, here is a snippet for your .emacs that will add it in only in Debian's emacs22: (let ((info-path (getenv "INFOPATH"))) (when (and info-path (boundp 'debian-emacs-flavor) (equal debian-emacs-flavor 'emacs22) (not (string-match "/usr/share/info/emacs-22" info-path))) (setenv "INFOPATH" (concat "/usr/share/info/emacs-22:" info-path)))) > Using the standalone info reader, I don't have this problem: it seems > to search subdirectories, so it finds the emacs-22/* files under > /usr/share/info. But if you have multiple Emacs versions installed, it will pick up a random one, though the file names are included in the dir entry: * Emacs FAQ: (emacs-21/efaq). Frequently Asked Questions about Emacs. * Emacs FAQ: (emacs-22/efaq). Frequently Asked Questions about Emacs. If I choose the first entry, info still displays the FAQ for emacs22. Cheers, Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]