[slime-devel] Daily ChangeLog diff

Helmut Eller heller at common-lisp.net
Tue Jan 6 15:18:31 UTC 2009


* Tobias C. Rittweiler [2009-01-06 14:55+0100] writes:

> Helmut Eller <heller at common-lisp.net> writes:
>
>> +2009-01-05  Helmut Eller  <heller at common-lisp.net>
>> +
>> +	Use keymap inheritance to share bindings in various modes.
>> +
>> +	* slime.el (slime-parent-map): New keymap.
>> +	(slime-mode-map, slime-popup-buffer-mode-map, sldb-mode-map)
>> +	(slime-inspector-mode-map): Use it.
>> +	(slime-parent-bindings, slime-prefix-bindings): New variables.
>> +	(slime-prefix-key, slime-define-key): Deleted.
>> +
>> +	Update contribs accordinly.
>
> This makes C-c C-z work again. Thank you!
>
> A few issues:
>
>   * Why are the slime-macroexpand-* commands not part of the
>     slime-prefix-map?
>
>     At the moment C-c C-m does not work at the REPL.

slime-parent-map (and slime-prefix-map) are intended for bindings which
are useful in almost every buffer.  I added those which I think are
useful without doing any harm.  E.g. I don't know who useful it would be
to do macro-expansion in the SLDB buffer.  Feel free to add some more.

>   * Likewise for slime-describe-function, slime-undefine-function, and
>     slime-complete-symbol.

slime-describe-function should really be in the C-c C-d prefix map.
slime-undefine-function seems to be a rather unusual operation.
slime-complete-symbol is only useful in a buffer that is supposed to be
edited.  It's better not to bind it in all places (especially since it
is bound to so many keys).

>   * Why is C-M-. not part of slime-parent-map?
>
>     It does not work at the REPL either at the moment.

Did that ever work?

>   * Likewise for slime-space.

Same situation as for slime-complete-symbol.

Helmut.





More information about the slime-devel mailing list