[Top][All Lists]

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

Re: woman help

From: Kevin Rodgers
Subject: Re: woman help
Date: Fri, 25 Jun 2004 11:54:38 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Mike Ballard wrote:
> 2.  When I enter a man page, "du" for example, mb asks 'which directory?'.
>     Apparently I have a man1/ and man1p/ - I don't know what the
>     difference is but would like to not have to keep entering the dir I
>     want in mb and (I guess) just have it default to man[1-7] and quit
>     asking me first.

That man1p directory is being searched because of your MANPATH
environment variable or the woman-manpath, woman-man.conf-path, or
woman-path Emacs Lisp variables.  If you examine their values, you can
determine which one is responsible.

But if man1p and man1 are siblings of a common parent directory, you
might not be able to exclude the former from the search path and still
include the latter by frobbing those variables.  So you would have to
resort to something like this:

(defadvice woman-expand-directory-path (after man1p activate)
  "Exclude \"/usr/man/man1p\"."
  (setq ad-return-value
        (delete "/usr/man/man1p" ad-return-value)))

Kevin Rodgers

reply via email to

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