Slime usage with .lisp buffer?

Pascal Bourguignon pjb at informatimago.com
Thu Jun 1 07:09:20 UTC 2023



> On 1 Jun 2023, at 03:11, Nicholas Papadonis <nick.papadonis.ml at gmail.com> wrote:
> 
> I'm transitioning from 'mit-scheme -edit' (edwin) to Slime.  I've installed Slime via MELPA and have the *slime-repl sbcl* up.  I also opened a file C-x C-f 't.lisp' and the buffer shows only 'Lisp adoc'.
> 
> Is this correct?
> 
> I saw videos where the .lisp buffer showed 'sbcl'.  Also, it appears I can evaluate the t.lisp buffer using C-x C-e with results, however am not sure if this is SBCL, Slime or some other method of evaluation.  
> 
> Does anyone know how Slime should behave with respect to a *.lisp buffer and evaluation?
> 
> Thanks

In any buffer, you can type C-h m to see the modes that are active in that buffer, and the main key bindings of those modes.

You should be all set-up and C-x C-e (or C-u C-x C-e) send the expressions to slime interior-lisp process, ie. sbcl in your case.

You could add paredit-mode to help you editing sexps in a more structured way.
https://wikemacs.org/wiki/Paredit-mode

-- 
__Pascal J. Bourguignon__




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20230601/1fe33f42/attachment.html>


More information about the slime-devel mailing list