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?