Unless there are objections, I will make the change below in SLIME CVS.
2007-12-12 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de
* slime.el (slime-repl-mode-map): Bind C-c C-t to slime-toggle-trace-fdefinition (as in Lisp buffers) instead of slime-repl-clear-buffer. This binding is useful for untracing functions directly from the trace output.
--- slime.el.~1.882.~ 2007-12-11 17:20:50.000000000 +0100 +++ slime.el 2007-12-12 13:57:41.509816000 +0100 @@ -2873,7 +2873,7 @@ ("\C-c\C-w" slime-who-map) ("\C-\M-x" 'slime-eval-defun) ("\C-c\C-o" 'slime-repl-clear-output) - ("\C-c\C-t" 'slime-repl-clear-buffer) + ("\C-c\C-t" 'slime-toggle-trace-fdefinition) ("\C-c\C-u" 'slime-repl-kill-input) ("\C-c\C-n" 'slime-repl-next-prompt) ("\C-c\C-p" 'slime-repl-previous-prompt)
Matthias
On Dec 12, 2007, at 14:06 , Matthias Koeppe wrote:
Unless there are objections, I will make the change below in SLIME CVS.
2007-12-12 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de
- slime.el (slime-repl-mode-map): Bind C-c C-t to
slime-toggle-trace-fdefinition (as in Lisp buffers) instead of slime-repl-clear-buffer. This binding is useful for untracing functions directly from the trace output.
I agree that consistency is a good thing, after all it happened to me many times that I wanted to trace a definition, and accidentally cleared the repl buffer. But then please provide an alternative binding for slime-repl-clear-buffer. I use that quite often, in particular when the repl buffer becomes large, or to ensure that presentations are not holding on to some data.
I have no good suggestions for a key, obvious candidates C-c C-c and C-c C-b are both taken. Maybe C-c M-o? However, I find that harder to type.
Cheers, Michael
Michael Weber michaelw+slime@foldr.org writes:
But then please provide an alternative binding for slime-repl-clear-buffer. I use that quite often, in particular when the repl buffer becomes large, or to ensure that presentations are not holding on to some data.
I also use C-c C-t frequently for clearing the REPL.
Zach
Michael Weber michaelw+slime@foldr.org writes:
On Dec 12, 2007, at 14:06 , Matthias Koeppe wrote: [...]
2007-12-12 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de
- slime.el (slime-repl-mode-map): Bind C-c C-t to
slime-toggle-trace-fdefinition (as in Lisp buffers) instead of slime-repl-clear-buffer. This binding is useful for untracing functions directly from the trace output.
[...] please provide an alternative binding for slime-repl-clear-buffer. [...] Maybe C-c M-o? However, I find that harder to type.
I like your suggestion of C-c M-o, as this binding makes sense as the more powerful variant of C-c C-o, `slime-repl-clear-output'.
Matthias Koeppe mkoeppe+slime@mail.math.uni-magdeburg.de writes:
Michael Weber michaelw+slime@foldr.org writes:
On Dec 12, 2007, at 14:06 , Matthias Koeppe wrote: [...]
2007-12-12 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de
- slime.el (slime-repl-mode-map): Bind C-c C-t to
slime-toggle-trace-fdefinition (as in Lisp buffers) instead of slime-repl-clear-buffer. This binding is useful for untracing functions directly from the trace output.
[...] please provide an alternative binding for slime-repl-clear-buffer. [...] Maybe C-c M-o? However, I find that harder to type.
I like your suggestion of C-c M-o, as this binding makes sense as the more powerful variant of C-c C-o, `slime-repl-clear-output'.
I have now committed this change to SLIME CVS:
2008-01-09 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de
* slime.el (slime-repl-mode-map): Bind C-c C-t to slime-toggle-trace-fdefinition (as in Lisp buffers) instead of slime-repl-clear-buffer. This binding is useful for untracing functions directly from the trace output. Move slime-repl-clear-buffer to the keybinding C-c M-o.