What is the reason that the binding for C-c C-z in the keymap for slime-popup-buffers is commented out?
-T.
Helmut Eller heller@common-lisp.net writes:
- Tobias C. Rittweiler [2009-01-04 15:40+0100] writes:
What is the reason that the binding for C-c C-z in the keymap for slime-popup-buffers is commented out?
Because slime-switch-to-output-buffer is now in slime-repl.el
I'll make it switch to *inferior-lisp* if slime-repl isn't loaded. Objection?
-T.
* Tobias C. Rittweiler [2009-01-04 16:52+0100] writes:
Helmut Eller heller@common-lisp.net writes:
- Tobias C. Rittweiler [2009-01-04 15:40+0100] writes:
What is the reason that the binding for C-c C-z in the keymap for slime-popup-buffers is commented out?
Because slime-switch-to-output-buffer is now in slime-repl.el
I'll make it switch to *inferior-lisp* if slime-repl isn't loaded. Objection?
Just that the *inferior-lisp* buffer may not exist either.
In the long term, it wouldn't be the worst idea to split slime-mode-map up into 2 or more keymaps and use keymap inheritance. The parent keymap could contain bindings which are useful in many modes (e.g. M-., C-c C-z, C-c C-d, C-c C-w etc.). slime-mode-map, slime-popup-mode-map, sldb-mode-map etc. could inherit from the same parent. slime-repl-mode or inferior-slime-mode could then bind C-c C-z in that parent map and it would be automatically used in all modes.
Helmut.