[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A possible bug in the use of "\C-m"/[return] in define-key
From: |
Lennart Borgman (gmail) |
Subject: |
A possible bug in the use of "\C-m"/[return] in define-key |
Date: |
Tue, 29 Apr 2008 23:38:29 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
I just noticed that
(define-key js2-mode-map [return] #'js2-enter-key)
(use-local-map js2-mode-map)
overrides
(define-key viper-vi-basic-map "\C-m" 'viper-next-line-at-bol)
even though viper-vi-basic-map is managed in `emulation-mode-map-alists'.
I mean that when I type RET I get js2-enter-key, not viper-next-line-at-bol.
Something is obviously wrong - somewhere, but where?
- A possible bug in the use of "\C-m"/[return] in define-key,
Lennart Borgman (gmail) <=