From: Joseph Brenner <doom@kzsu.stanford.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: ESC x man and "man -k"
Date: Fri, 22 Jan 2010 01:11:23 -0800 [thread overview]
Message-ID: <873a1ybj2c.fsf@kzsu.stanford.edu> (raw)
In-Reply-To: mailman.1761.1263970216.18930.help-gnu-emacs@gnu.org
Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
> Joseph Brenner wrote:
>> I've always liked the man feature:
>> man -k <search_term>
>> Which does something like an "apropos" search on man pages.
>>
>> I used to use this feature often inside of emacs, first doing an
>> ESC x man
>> then at the prompt, entering:
>> -k <search_term>
>>
>> Now, with a recent "cvs emacs" (soon to be called "bizarre emacs", I fear),
>> I find that I can't type the space after the -k.
>>
>> Is this supposed to be a feature? How can I fix it?
>
> It must be doing completion on the option letter.
>
> Type C-q SPC instead of just SPC.
Yes, that seems to work... but I decided I might as well do it
like this:
(defun man-apropos-search (search-term)
"Do a keyword search of man pages, cf. 'man -k SEARCH-TERM'."
(interactive "ssearch term for man pages: ")
(man (concat "-k " search-term)))
(global-set-key "\M-om" 'man-apropos-search)
prev parent reply other threads:[~2010-01-22 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 5:07 ESC x man and "man -k" Joseph Brenner
2010-01-20 6:49 ` Kevin Rodgers
2010-01-20 6:55 ` ESC x man and "man -k" (possible bug?) tomas
[not found] ` <mailman.1761.1263970216.18930.help-gnu-emacs@gnu.org>
2010-01-22 9:11 ` Joseph Brenner [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873a1ybj2c.fsf@kzsu.stanford.edu \
--to=doom@kzsu.stanford.edu \
--cc=help-gnu-emacs@gnu.org \
/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 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.