As a long time ILISP user, I am missing an equivalent of call-defun-lisp (bound to C-c C-y), which inserts into the REPL a call to the function currently looked at in a Lisp buffer. It is very convenient for testing functions one is currently writing. Is something like this available in SLIME?
Matthias Koeppe mkoeppe+slime@merkur.math.uni-magdeburg.de writes:
As a long time ILISP user, I am missing an equivalent of call-defun-lisp (bound to C-c C-y), which inserts into the REPL a call to the function currently looked at in a Lisp buffer. It is very convenient for testing functions one is currently writing. Is something like this available in SLIME?
No, I don't think so. I personally write the function call in comments and use C-x C-e for this purpose to call it.
This command could probably implemented with something like:
(with-current-buffer (slime-repl-buffer) (goto-char (slime-repl-input-start-mark)) (insert <string>) (slime-repl-send-string <string>))
Helmut.