emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: C-RET is shown as just RET by substitute-command-keys


From: Lennart Borgman (gmail)
Subject: Re: C-RET is shown as just RET by substitute-command-keys
Date: Fri, 29 Dec 2006 20:37:01 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Kevin Rodgers wrote:
Lennart Borgman wrote:
I just noticed that \\[COMMAND] just shows RET for something that was bound like

   (define-key map [(control ?\r)] 'nxhtml-complete-and-insert)

That's because (where-is-internal 'nxhtml-complete-and-insert nil t nil t)
returns [13] when called by substitute-command-keys.  That in turn is due
to the fact that the command is actually bound to 13 (?\r), because that's
what (event-convert-list '(control ?\r)) returns.

Do you get different results by binding [?\C-\r] or [C-return] instead?

Thanks for the response. Yes, I do.




reply via email to

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