> I did not like the new key bindings in ECB (1.95). So I wanted new key bindings and so added the following
> ;; Customize the keys for ECB in the old way
> (global-set-key "\C-c.1" 'ecb-goto-window-edit1)
> Everything works fine except C-c.m, which just prints it (C-c.m)in the min-buffer and waits. Why ?
> Even though most it works, when I use the ECB menu, it still shows the bindings with the 'g' in them, like C-c.g1, C-c.g2 etc. Am I customizing the wrong map ?
Yes, you are customizing not only the wrong map but also in a very not-recommended way:
1. Strongly recommended: Customize the option `ecb-key-map' via the customize-feature of Emacs.
This is a conveniant and save way to add new keybindings or change key-bindings in the key-map
ecb-mode-map. Do not confuse: The option is ecb-key-map but the real key-map is `ecb-mode-map'.
You add keybindings to `ecb-mode-map' via the option `ecb-key-map'!
2. If you want to customoize the keybindings do this for the key-map `ecb-mode-map' like
(define-key ecb-mode-map (kbd "your key") 'ecb-goto-window-edit1)
Is also mentioned in the user-manual of ECB!
Ciao,
Klaus
|