On Thu, Jan 14, 2010 at 5:38 PM, Attila Lendvai attila.lendvai@gmail.com wrote:
Maybe it's better to have a function which will define a keybinding for all relevant slime modes?
imho that would lead far and duplicate the logic keymaps, modes and their inheritance provide in emacs.
the current setup with a tree of keymaps inheriting from each other is flexible enough. it's just the repl mode seems to misbehave for some reason...
I've achieved that by setting slime-repl-mode-map's parent to (append slime-editing-map lisp-mode-map) and not using slime-editing-mode in slime-repl-mode. This is committed in CVS.