help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] info reader broken


From: Sprenger, Karel
Subject: RE: [h-e-w] info reader broken
Date: Fri, 20 Sep 2002 09:20:48 +0200

Hi,

Setting Info-directory-list only helps *after* you have invoked info (if at 
all).  According to the documentation of variable Info-default-directory-list:

-----8<-----
Once Info is started, the list of directories to search
comes from the variable `Info-directory-list'.
This variable `Info-default-directory-list' is used as the default
for initializing `Info-directory-list' when Info is started, unless
the environment variable INFOPATH is set.
-----8<-----

As I also use the stand-alone info reader program (part of cygwin) I do not 
adjust Info-default-directory-list but rather have set INFOPATH to list the 
directories containing info files and accompanying dir files.

There is a catch in this as INFOPATH should be set to something like  
"c:/emacs/info;c:/cygwin/usr/info;c:/usr/local/info" with forward slashes, 
drive letters and semi-colon as path separator if you want both emacs and 
cygwin's stand-alone info-reader program to understand it.  The behaviour of 
cygwins info program seems odd as cygwin normally follows the unix path style 
(no drive letters and colon as path separator), but since a few months the info 
program only understands the ntemacs style path.

Note that cygwin's man command *does* expect MANPATH to contain a unix-style 
path, whereas Francis Wright's woman.el wants it in DOS style.  The solution is 
to define MANPATH with a DOS-style path, change MANPATH in .bashrc using 
cygpath for use in a bash shell, and invoke man through a perl script doing the 
same conversion for use in a cmd shell.

If all inconsistencies in life could be changed with such simple tricks, the 
world would be a better place to live in :-)

Cheers,
Karel

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: vrijdag 20 september 2002 7:35
To: address@hidden
Subject: Re: [h-e-w] info reader broken




"Harrison Thomas" <address@hidden> writes:

> Hello all
>       Another probably simple minded newbie question:
> My info reader inside of emacs was working fine, I added this line to my
> _emacs:
>
> ;; including the info files:
> (add-to-list 'Info-default-directory-list "d:/emacs/site-lisp/calc/info/")

Take a look to the variable Info-directory-list. Is the calc info
directory there? The Info-default-directory-list is only used for
initialization of the variable Info-directory-list. You can also use

  (add-to-list 'Info-directory-list "d:/emacs/site-lisp/calc/info/")

Harald




reply via email to

[Prev in Thread] Current Thread [Next in Thread]