[slime-devel] cutting and pasting S-expressions from buffer to REPL
sionescu at cddr.org
Mon May 14 19:23:12 UTC 2012
On Tue, 2012-05-15 at 00:49 +0530, Faheem Mitha wrote:
> > (define-key slime-mode-map (kbd "C-c s") 'slime-send-dwim)
> > (define-key slime-mode-map (kbd "C-c M-s") '(lambda () (interactive) (slime-send-dwim 1)))
> Nice! That works for me. However, may I clarify/confirm usage?
> If I put the cursor on the closing parenthesis of the expression, then the
> first command just copies it to the REPL, the second copies and then
> evaluates it. Is this correct usage?
> > The advantage of using these as opposed to a simple eval-expression is
> > that a trace of it remains in the REPL buffer, useful if you're using
> > cl:dribble or something similar
> Well, like I said earlier, in practice, you may have to modify the
> expression before you can run it.
Indeed. If you need to modify it, use the first command, otherwise use
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the slime-devel