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: Harrison Thomas
Subject: RE: [h-e-w] info reader broken
Date: Fri, 20 Sep 2002 13:29:10 -0700

Hello,

        This has been an interesting discussion. I have picked up a few 
pointers.
But my original problem has not been touched:  After adding the calc/info
path to Info-default-directory-list, middle button clicking in Info on a
node does nothing anymore, on *ANY* node (not just the calc node)! Commented
the line out of _emacs..exit/restart emacs..still nothing. Looked thru the
customize groups, mouse et al, can find no reference for setting/resetting
the middle button's behavior. My question was.. do I need to recompile
/lisp/info.el to get this functionality back? Or what? Is there a separate
customize command for the middle mouse button? And why did simply adding:
                        ;; including the info files:
  (add-to-list 'Info-default-directory-list "d:/emacs/site-lisp/calc/info/")
to my _emacs file break this functionality?

Sorry if I'm just being bone-headed

Harrison

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Sprenger, Karel
Sent: Friday, September 20, 2002 12:21 AM
To: Harald Maier; address@hidden
Subject: RE: [h-e-w] info reader broken


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]