|
From: | Lennart Borgman (gmail) |
Subject: | (that binding is currently shadowed ...) |
Date: | Sun, 21 Jan 2007 02:34:29 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
key binding --- ------- C-c Prefix Command (that binding is currently shadowed by another mode) C-c RET Prefix Command Here is an example to use to reproduce it. Start with emacs -Q M-x cua-mode Then eval the code below and do M-x mlinks-mode C-h f mlinks-mode RET (defvar mlinks-mode-map (let ((m (make-sparse-keymap))) (define-key m [(control ?c) ?\r ?\r] 'mlinks-goto) (define-key m [(control ?c) ?\r ?n] 'mlinks-next) (define-key m [(control ?c) ?\r ?p] 'mlinks-prev) (define-key m [(control ?c) ?\r ?h] 'mlinks-toggle-highlighter) m)) (define-minor-mode mlinks-mode " \\{mlinks-mode-map} " nil " ML" nil :global t :keymap mlinks-mode-map :group 'mlinks) In GNU Emacs 22.0.92.1 (i386-mingw-nt5.1.2600) of 2007-01-20
[Prev in Thread] | Current Thread | [Next in Thread] |