[slime-devel] rewriting commands

Jens Teich info at jensteich.de
Tue Jul 24 13:52:48 UTC 2007


Tamas K Papp wrote:
> I am trying to find out how to do this right.  Suppose I write a
> command on the repl and press enter:
> 
> CL-USER> (1+ 2)
> 3
> 
> then I go back and edit that line, trying to reuse part of what I
> wrote (in this case, I type "(describe " before and ")" after the
> previous expression, then press ENTER, ENTER:
> 
> CL-USER> (describe (1+ 2))
> 3
> CL-USER> (1+ 2))
> 
> and I end up with an incomplete expression (as above) and an error.
> 
> How can I reuse edited lines from the REPL?  Copy & paste with C-K C-Y
> works, but there must be a better way.
> 

M-p

Jens



More information about the slime-devel mailing list