2nd repl for same inferior lisp

Bjoern Paschen bpaschen at googlemail.com
Fri Mar 17 10:56:56 UTC 2017


Hi...

Open your lisp process in the terminal first and load swank by hand.

>$ sbcl
>This is SBCL 1.3.14, an implementation of ANSI Common Lisp.
>More information about SBCL is available at <http://www.sbcl.org/>.
>
>SBCL is free software, provided as is, with absolutely no warranty.
>It is mostly in the public domain; some portions are provided under
>BSD-style licenses.  See the CREDITS and COPYING files in the
>distribution for more information.
>* (ql:quickload :swank)
>To load "swank":
>  Load 1 ASDF system:
>    swank
>; Loading "swank"
>.
>(:SWANK)
>* (swank:create-server :port 4005 :dont-close t)
>;; Swank started at port: 4005.
>
>4005
>* (swank:create-server :port 4006 :dont-close t)
>;; Swank started at port: 4006.
>
>4006

Then use M-x slime-connect in Emacs to connect to port 4005 and then
port 4006 on localhost. Before the second connection emacs will ask if
you want to close the old one. Just answer no.

Seems to work so far.

------------------

2017-03-17 11:14 GMT+01:00 Jim Newton <jimka.issy at gmail.com>:
> Hi,
> Can someone tell me how to (or if it is possible to) create a second repl
> buffer for the same inferior lisp process.  Maybe this is not supported,
> because when I look in the slime manual, it seems to always refer to "THE
> REPL buffer for the current SLIME connection”
>
> Kind regards
> Jim



More information about the slime-devel mailing list