[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: conflict of kex-bindings of different modes?

From: Kai Grossjohann
Subject: Re: conflict of kex-bindings of different modes?
Date: Thu, 16 Oct 2003 22:41:18 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (berkeley-unix) (David Andel) writes:

> C-h w gives "emacs-wiki-delete-link-at-point is on C-c C-S-d"
> C-h k and pressing C-c C-S-d gives "C-c C-d is undefined"

Current theory: there is a bug in the *.el file with binding that

For example, I just did

        M-: (global-set-key [C-a C-b] 'foo) RET

And now C-h C-b prints

        <C-a> <C-b>     foo

Here, you can see that it is interpreting the keys as a sequence of
funnily-named function keys.  (You can see from the <...>.)

But in older versions of Emacs, you would have seen

        C-c C-b         foo

instead, and would've been none the wiser.

The correct Lisp would have been:

    M-: (global-set-key [?\C-a ?\C-b] 'foo) RET

Can you look in the *.el file to see how it is defining the keys?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]