Re: 2nd repl for same inferior lisp
Luís Oliveira <[email protected]> Fri, 17 Mar 2017 13:36:48 +0000
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAB-HnLQgV6gJR61KLhtoKh1fOf18sTo=F+3UPG-3raEyk=QjGA@mail.gmail.com> |
Have a look at the mrepl contrib. On Fri, Mar 17, 2017, 11:07 Nick Levine <[email protected]> wrote: > So, no M-x another-slime? That would be useful. Doesn't require you to > know in advance you're going to need it. > > - n > > > On 17 March 2017 at 11:56, Bjoern Paschen <[email protected]> wrote: > > 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 <[email protected]>: > > 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 > > > > On 17 March 2017 at 11:56, Bjoern Paschen <[email protected]> wrote: > > 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 <[email protected]>: > > 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 > > >