Hrvoje Niksic <hniksic(a)iskon.hr> writes:
Mike Fabian <mike.fabian(a)gmx.de> writes:
[...]
> [...] newer info-files installed somewhere in
> my HOME directory were shadowed by the older ones which came with
> XEmacs.
"Shadowed" implies that you can't see the ones that come latter. Is
that really the case? What should happen is that they are listed
later, but you should still be able get them by following the right
link.
No, unfortunately it doesn't work that way. For example I have 3
versions of the gnus info-file on my system (from GNU Emacs, from
XEmacs and the latest CVS-version of Gnus in my home directory):
/dvs/stow/emacs-20.5a/info/gnus
/disk-c/dvs/stow/xemacs-21.1.8/lib/xemacs/xemacs-packages/info/gnus.info
~/emacs/pgnus/texi/gnus
therefore `Gnus' shows up 3 times in the `Top' node of my info tree:
Info files in /disk-c/dvs/stow/xemacs-21.1.8/lib/xemacs/xemacs-packages/info/:
[...]
* Gnus:: [No description available]
[...]
Info files in /disk-a/fabian/emacs/lookup-1.1/texi/:
* Lookup Guide: (lookup-guide). The Lookup User's Guide.
* Lookup: (lookup). Lookup, a Search Interface.
* Gnus: (gnus). The news reader Gnus.
[...]
Info files in /disk-a/fabian/emacs/bbdb-cvs/texinfo/:
* Bbdb:: [No description available]
* Gnus: (gnus). The news reader Gnus.
(By the way, I use
(if (string-match "XEmacs" emacs-version)
(setq Info-auto-generate-directory 'always))
in my .emacs).
Note that the lines `Info files in /...' often seem to be wrong, only
the first such line above shows a directory where a gnus-info file
really lives.
No matter which link of Gnus:: or Gnus: I follow, I will always get
the info-file of the Gnus from CVS in my home directory, because
I did set this directory to come first in my `Info-directory-list'.
In this case I don't care much, because I don't want to read the old
Gnus-info-files anyway (And I know I can get them with `C-u M-x info'
if I really want). But when I worked on Windows NT with Cygwin I had
many info files with the same names (those which came with Cygwin and
others copied from a Linux system for reference). I wanted to be able
to read both versions conveniently. Neither GNU Emacs nor XEmacs could
deal well with this. As a workaround I used hand-edited `dir' files in
all the info directories with paths edited like
* blabla: (./blabla).
and a top-level dir file to switch to the different directories. I
don't know whether there is a better way to do this.
Mike
--
Mike Fabian <fabian(a)mpia-hd.mpg.de>