[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] woman.el (woman-file-name): custom option `woman-use-file-di
From: |
Chong Yidong |
Subject: |
Re: [PATCH] woman.el (woman-file-name): custom option `woman-use-file-directly' |
Date: |
Sun, 09 Jan 2011 16:47:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
"Vladimir Alexiev" <address@hidden> writes:
> Sometimes a system may have several versions of man pages. E.g. my
> cygwin installation has these for "ls":
> - c:/cygwin/usr/man/man1/ls.1 -- ls (fileutils) 4.1 (April 2001)
> - c:/cygwin/usr/share/man/man1/ls.1.gz -- GNU coreutils 8.5 (June 2010)
> In this case woman.el asks you to select one.
> This is distracting if you are in the middle of something and want to
> quickly refer to man, and don't care about the particular version.
>
> I attach a small patch for woman.el that fixes this.
>
> It's less than 20 lines (I've signed a GPL waiver before, but that was
> like 10 years ago).
This is along the right lines, but there ought to be a way to
interactively get woman to view the other versions. Unfortunately, the
prefix arg for M-x woman is already used to toggle the RE-CACHE arg.
Maybe a prefix arg should re-cache in addition to changing the
`woman-use-file-directly' effect. I don't think the former
functionality is commonly used, anyway.
- Re: [PATCH] woman.el (woman-file-name): custom option `woman-use-file-directly',
Chong Yidong <=