* woman help
@ 2004-06-24 0:47 Mike Ballard
2004-06-24 7:04 ` Matthias
2004-06-25 17:54 ` Kevin Rodgers
0 siblings, 2 replies; 3+ messages in thread
From: Mike Ballard @ 2004-06-24 0:47 UTC (permalink / raw)
No studs, not that kind of woman. I have a couple questions about Emacs'
man page util:
1. How can I make it so that "M-x man" will bring up woman instead?
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.
Mike
--
mikeballard at symbol verizon period net
"If your main parachute fouls, deploy your reserve. If your
reserve is also fouled you have the rest of your life to get
it straightened out."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: woman help
2004-06-24 0:47 woman help Mike Ballard
@ 2004-06-24 7:04 ` Matthias
2004-06-25 17:54 ` Kevin Rodgers
1 sibling, 0 replies; 3+ messages in thread
From: Matthias @ 2004-06-24 7:04 UTC (permalink / raw)
Mike Ballard <dont_w@nt_spam.org> wrote:
> 1. How can I make it so that "M-x man" will bring up woman instead?
(defalias 'man 'woman)
Is it ok?
--
Matthias
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: woman help
2004-06-24 0:47 woman help Mike Ballard
2004-06-24 7:04 ` Matthias
@ 2004-06-25 17:54 ` Kevin Rodgers
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2004-06-25 17:54 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-25 17:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 0:47 woman help Mike Ballard
2004-06-24 7:04 ` Matthias
2004-06-25 17:54 ` Kevin Rodgers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.