[Top][All Lists]
[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: |
Kevin Rodgers |
Subject: |
Re: C-RET is shown as just RET by substitute-command-keys |
Date: |
Fri, 29 Dec 2006 12:11:48 -0700 |
User-agent: |
Thunderbird 1.5.0.9 (Macintosh/20061207) |
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?
--
Kevin Rodgers
Denver, Colorado, USA