emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: woman can't parse Solaris man files (they are now in SGML)


From: Dr Francis J. Wright
Subject: Re: woman can't parse Solaris man files (they are now in SGML)
Date: Thu, 26 Feb 2004 16:54:14 -0000

From: "Klaus Zeitler" <address@hidden>
To: <address@hidden>
Cc: "Dr Francis J. Wright" <address@hidden>
Sent: Thursday, February 26, 2004 10:01 AM
Subject: woman can't parse Solaris man files (they are now in SGML)


> Since Solaris 2.7 (I think) sources of man pages are written in SGML and
> Sun provides a converter (sgml2roff). I've patched woman-process-buffer
> to call this converter for SGML sources.
> I'd appreciate if any other Solaris user could test this.
>
> I've attached a patch that handles SGML man sources.
> Additionally this patch contains 3 more changes (that I've mentioned
> recently).
> 1. regeneration of cache on demand instead of automatically
> 2. an (autoloaded) function woman-recreate-cache (I prefer to regenerate
my
>    cache with a cron job cause it takes very long).
> 3. Instead of offering all the completions in a completion buffer, the
first
>    man page in MANPATH is shown as default in minibuffer (pressing ? will
>    show the completion buffer)
>
> Maybe Francis can make use of some of these changes.


Thanks for the patches; I will certainly consider them.  However, my initial
reaction, especially about pre-processing SGML, is that it's not sensible to
try to use WoMan in situations such as this, where the man command within
Emacs is more appropriate.

Francis





reply via email to

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