Re: Slime usage with .lisp buffer?
Pascal Bourguignon <[email protected]> Thu, 1 Jun 2023 09:09:20 +0200
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_DA714390-34F3-4313-9D13-022ADC2AF463 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 1 Jun 2023, at 03:11, Nicholas Papadonis = <[email protected]> wrote: >=20 > 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'. >=20 > Is this correct? >=20 > 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. =20 >=20 > Does anyone know how Slime should behave with respect to a *.lisp = buffer and evaluation? >=20 > 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 --=20 __Pascal J. Bourguignon__ --Apple-Mail=_DA714390-34F3-4313-9D13-022ADC2AF463 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 1 Jun 2023, at 03:11, Nicholas Papadonis <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D"">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'.<div class=3D""><br class=3D""></div><div = class=3D"">Is this correct?</div><div class=3D""><br class=3D""></div><div= class=3D"">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. </div><div class=3D""><br class=3D""></div><div = class=3D"">Does anyone know how Slime should behave with respect to a = *.lisp buffer and evaluation?</div><div class=3D""><br = class=3D""></div><div class=3D"">Thanks</div></div> </div></blockquote><br class=3D""></div><div>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.</div><div><br class=3D""></div><div>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.</div><div><br = class=3D""></div><div>You could add paredit-mode to help you editing = sexps in a more structured way.</div><div><a = href=3D"https://wikemacs.org/wiki/Paredit-mode" = class=3D"">https://wikemacs.org/wiki/Paredit-mode</a></div><br = class=3D""><div class=3D""> <div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; = text-align: start; text-indent: 0px; text-transform: none; white-space: = normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">-- <br class=3D"">__Pascal J. Bourguignon__</div><div = style=3D"color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; = word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: = break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D""><br class=3D""><br class=3D""><br class=3D""></div></div></div>= </div> <br class=3D""></body></html>= --Apple-Mail=_DA714390-34F3-4313-9D13-022ADC2AF463--