help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Binding C-x C-RET ?


From: David Kastrup
Subject: Re: Binding C-x C-RET ?
Date: Wed, 17 May 2006 18:15:49 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Bastien <bastien@xxx.fr> writes:

> David Kastrup <dak@gnu.org> writes:
>
>> Well, \\ is a backslash.  You'd better write "\C-x\C-\r".  
>
> I thought i need to escape "\r" the same way "\C" is escaped.
>
>> But you could write
>>
>> (global-set-key (kbd "C-x C-RET") 'execute-extended-command)
>
> ... not working here.  I don't have any backtrace, since Emacs behaves
> normally when evaluating the global-set-key function.
>
> Can you reproduce that ?

Ok, so it was

(global-set-key (kbd "C-x <C-return>") 'execute-extended-command)

Sue me.

In short, you write in quotes what C-h k C-x C-RET spews back at you.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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