[slime-devel] Is there an equivalent of ILISP's call-defun-lisp?

Helmut Eller e9626484 at stud3.tuwien.ac.at
Wed Dec 15 23:14:45 UTC 2004


Matthias Koeppe <mkoeppe+slime at 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.



More information about the slime-devel mailing list