[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] key-binding
From: |
Stephen Leake |
Subject: |
Re: [h-e-w] key-binding |
Date: |
07 Nov 2001 18:19:04 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
"Daniel Hegyi" <address@hidden> writes:
> In my .emacs I have:
> (global-set-key "\C-%" 'match-paren)
>
> My match-paren function, however, gets bound to C-e. How can I
> correctly bind it to C-%?
It's probably bound to C-e in a local keymap. This is one area where
Emacs is hard to use; it is not easy to figure out which keymap a key
is bound in.
To see the binding in the global map, open a temp buffer in
fundamental mode (do C-x b temp). Now do C-h k C-%. You can also do
C-h k C-e, to see what that is (normally 'end-of-line).
If you don't get "match-paren", then your statement above was not
executed, or it was overridden by a later command in your .emacs.
--
-- Stephe