Re: Find all commands bound to key prefix
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Find all commands bound to key prefix         


Author: Peter Dyballa
Date: Apr 4, 2008 08:19

Am 04.04.2008 um 15:05 schrieb Tassilo Horn:
> There's a much easier way. Press the prefix key followed by C-h.
> Let's
> say you want to see all keys that start with the prefix C-x RET, you'd
> type C-x RET C-h and get a *Help* buffer with all that keys.

The original question was aiming towards C-x C-v prefix – which seems
to fail with this method ...

--
Mit friedvollen Grüßen

Pete

Gut durch ist besser als unten durch!
4 Comments
Re: Find all commands bound to key prefix         


Author: rustom
Date: Apr 4, 2008 09:52

I am bewildered by these answers. (Or we are talking of different
editors/concepts??)

On Apr 4, 8:19 pm, Peter Dyballa wrote:
>
> The original question was aiming towards C-x C-v prefix - which seems
> to fail with this method ...
>
> --
> Mit friedvollen Grüßen
>
> Pete

Likewise
Drew Adams wrote:
> That doesn't work for all (even most) prefixes. It doesn't work for C-s, for
> instance (isearch-mode-map).

What is C-x C-v a prefix for -- all possible files in the system?
What is C-s a prefix for -- all possible substrings of the current
buffer?
Show full article (0.77Kb)
no comments
RE: Find all commands bound to key prefix         


Author: Drew Adams
Date: Apr 4, 2008 11:22

> Likewise Drew Adams wrote:
>
>> That doesn't work for all (even most) prefixes. It doesn't
>> work for C-s, for instance (isearch-mode-map).
>
> What is C-x C-v a prefix for -- all possible files in the system?

I didn't say anything about C-x C-v. I said that a prefix key followed by C-h
doesn't always show the prefix key bindings.

FWIW, I suspect that the OP might have meant `C-x v', which is a prefix key and
for which C-h does work: `C-h v C-h'. But there are other prefix keys for which
it does not work.
> What is C-s a prefix for -- all possible substrings of the current
> buffer?
Show full article (1.12Kb)
no comments
Re: Find all commands bound to key prefix         


Author: David Combs
Date: May 3, 2008 18:16

In article gnu.org>,
Drew Adams oracle.com> wrote:
>
>Some users, such as myself, explicitly bind C-h in isearch-mode-map so that C-s
>C-h does show the C-s bindings. RMS does not want that behavior for Emacs,
>however.

And how do you do that?

And what command do you bind it to?

Thanks,

David
1 Comment
RE: Find all commands bound to key prefix         


Author: Drew Adams
Date: May 3, 2008 18:53

>> Some users, such as myself, explicitly bind C-h in
>> isearch-mode-map so that C-s C-h does show the C-s
>> bindings.
>
> And how do you do that? And what command do you bind it to?

http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus - description

http://www.emacswiki.org/cgi-bin/wiki/isearch%%2b.el - code

This is the relevant part:

(add-hook 'isearch-mode-hook
(lambda ()
(define-key isearch-mode-map "\C-h" 'isearch-mode-help)))
Show full article (0.91Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
C-mode blows away may Ctrl-C binding with a prefix -- how to remap prefix?gnu.emacs.help ·