[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apropos-* command key bindings
From: |
Kevin Rodgers |
Subject: |
Re: apropos-* command key bindings |
Date: |
Tue, 06 Sep 2005 14:34:54 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Reiner Steib wrote:
> I think this would be useful. Personally, I use the `<f1> A' prefix
> for...
>
> a apropos
> c apropos-command
> d apropos-documentation
> f apropos-command (with apropos-do-all = t)
Why doesn't Emacs have apropos-function?
(defun apropos-function (regexp)
"Show functions that match REGEXP."
(interactive)
(if (interactive-p)
(let ((apropos-do-all t))
(call-interactively 'apropos-command))
(apropos-command regexp t)))
> i info-apropos
What Emacs version has info-apropos?
> v apropos-variable
If that command had a more specific name like apropos-option, we could
define apropos-variable like apropos-function above:
(defun apropos-variable (regexp)
"Show variables that match REGEXP."
(interactive)
(if (interactive-p)
(let ((apropos-do-all t))
(call-interactively 'apropos-option))
(apropos-option regexp t)))
> V apropos-value
Thanks,
--
Kevin Rodgers