Hello Istvan,
[moduule-add in emacs]
> > Thanks, I'll try this (in a slightly edited version :-). However,
> > this only set's environment-variables, so while it would set INFOPATH,
> > it probably wouldn't set Info-default-directory-list or
> > Info-directory-list. Let's see, if I eval:
> >
> > (setenv "INFOPATH" "/usr/local/info:/opt/gnu/info:/software/fweb-1.62/info")
> >
> > I get:
> > Info-directory-list's value is
> > ("/software/ispell-3.1.20/info" "/usr/local/info" "/opt/gnu/info" "/software/fweb-1.62/info")
> > so this doesn't work. But at least I can set up the path, thanks...
>
> It might work if you load the module before info.el gets
> (auto)loaded. Info-directory-list gets initialized from INFOPATH at
> load time.
Possibly. But of course the idea of using module is to be able to
change my runtime environment at runtime. I guess one could have
emacs parse the module-output for things like INFOPATH, or possibly
kust reset the corresponding emacs-variables without even looking...
Sven
--
_ _ _____ Artificial Intelligence Unit
| | | |/ /_ _| University of Hamburg
| |__| ' < | | phone: +49 (0)40 42883-2576 Vogt-Koelln-Strasse 30
|____|_|\_\___| fax : +49 (0)40 42883-2572 D-22527 Hamburg
mailto:ut...@in... www.informatik.uni-freiburg.de/~utcke
|