unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: vladimir@sirma.bg
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] woman.el (woman-file-name): custom option `woman-use-file-directly'
Date: Sun, 09 Jan 2011 16:47:05 -0500	[thread overview]
Message-ID: <87fwt1eome.fsf@stupidchicken.com> (raw)
In-Reply-To: <001d01cba418$9b8fbd10$d2af3730$@bg> (Vladimir Alexiev's message of "Sat, 25 Dec 2010 11:46:29 +0200")

"Vladimir Alexiev" <vladimir@sirma.bg> 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.



  reply	other threads:[~2011-01-09 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-25  9:46 [PATCH] woman.el (woman-file-name): custom option `woman-use-file-directly' Vladimir Alexiev
2011-01-09 21:47 ` Chong Yidong [this message]
2011-01-10  2:12   ` Stefan Monnier
2011-01-10  8:24   ` Vladimir Alexiev
2011-02-15  8:27     ` [PATCH] woman.el (woman-file-name): custom option `woman-file-name-option' Vladimir Alexiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwt1eome.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=vladimir@sirma.bg \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).