This patch adds a few minor tweaks I found useful: * slime-repl-{clear-buffer,clear-output}: clear the last and entire output in the *slime-repl* buffer * slime-documentation: pop up a buffer with a symbol's documentation instead of its description, if found. * tweak to completion, taken from ilisp, to complete filenames inside strings. * slime-set-default-directory: also set *slime-repl*'s default-directory, so e.g. find-file makes sense.
/s
"Sean O'Rourke" sorourke@cs.ucsd.edu writes:
This patch adds a few minor tweaks I found useful:
- slime-repl-{clear-buffer,clear-output}: clear the last and entire output in the *slime-repl* buffer
- slime-documentation: pop up a buffer with a symbol's documentation instead of its description, if found.
- tweak to completion, taken from ilisp, to complete filenames inside strings.
- slime-set-default-directory: also set *slime-repl*'s default-directory, so e.g. find-file makes sense.
Nice patches! I've applied them with some minor changes.
[...]
- (slime-eval-describe
- `(cl:or (swank:documentation-symbol ,symbol-name)
(swank:describe-symbol ,symbol-name))))
By convention, we call only exported functions from the swank package. I changed swank:documentation-symbol a bit to make it more useful if the symbol is not documented.
Helmut.