all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* apropos-* command key bindings
@ 2005-08-30 18:30 Kevin Rodgers
  2005-09-04 19:47 ` Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2005-08-30 18:30 UTC (permalink / raw)


Wouldn't it be nice if all the apropos commands were available via
keybindings?  Obviously `C-h a' is sacrosanct, so how about making
`C-h C-a' a prefix key:

C-h C-a a	apropos
C-h C-a c	apropos-command
C-h C-a d	apropos-documentation
C-h C-a t	tags-apropos
C-h C-a v	apropos-variable
C-h C-a V	apropos-value
C-h C-a z	apropos-zippy

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: apropos-* command key bindings
  2005-08-30 18:30 apropos-* command key bindings Kevin Rodgers
@ 2005-09-04 19:47 ` Reiner Steib
  2005-09-06 20:34   ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2005-09-04 19:47 UTC (permalink / raw)
  Cc: bug-gnu-emacs

On Tue, Aug 30 2005, Kevin Rodgers wrote:

> Wouldn't it be nice if all the apropos commands were available via
> keybindings?  Obviously `C-h a' is sacrosanct, so how about making
> `C-h C-a' a prefix key:
>
> C-h C-a a	apropos
> C-h C-a c	apropos-command
> C-h C-a d	apropos-documentation
> C-h C-a t	tags-apropos
> C-h C-a v	apropos-variable
> C-h C-a V	apropos-value
> C-h C-a z	apropos-zippy

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)
i	info-apropos
v	apropos-variable
V	apropos-value

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: apropos-* command key bindings
  2005-09-04 19:47 ` Reiner Steib
@ 2005-09-06 20:34   ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-09-06 20:34 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-06 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 18:30 apropos-* command key bindings Kevin Rodgers
2005-09-04 19:47 ` Reiner Steib
2005-09-06 20:34   ` 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.