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

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

[h-e-w] WoMan update


From: Dr Francis J. Wright
Subject: [h-e-w] WoMan update
Date: Thu, 17 Oct 2002 14:02:57 +0100

From: "Sprenger, Karel" <address@hidden>
To: "Harald Maier" <address@hidden>; <address@hidden>
Sent: Friday, September 20, 2002 8:20 AM
Subject: RE: [h-e-w] info reader broken


> 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.

-----

An updated version (0.55) of woman.el is available from
http://centaur.maths.qmul.ac.uk/Emacs/WoMan/, where there is a list of
changes since the version (0.54) distributed with Emacs 21.  In particular,
I have done quite a lot of work on the Cygwin support, which should now find
all the standard Cygwin man pages automatically.  For that to work, you may
need to undo any specific customization of user options that affect the
search path.  As before, WoMan reads MANPATH if it is set, which can be in
either DOS or Cygwin format but not a mixture of the two, and if MANPATH is
not set, or contains null components, then WoMan reads the man.conf file.
However, I have generally reworked the code, and now WoMan calls cygpath (if
possible) to convert filepaths from Cygwin format to the mixed format
preferred by Emacs.

There are a couple of other enhancements to the formatter.  This all seems
to work for me, but of course that doesn't prove much!  So if anyone feels
like testing it I would be grateful for reports of successes or failures,
especially because this version might go into the Emacs distribution fairly
soon.  Generally, WoMan 0.55 will not format man pages that WoMan 0.54 would
not format (with one or two exceptions such as lilo.8, which WoMan now
formats satisfactorily); my main concern is that I haven't broken anything
that used to work.

Francis





reply via email to

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