From jimka.issy at gmail.com Fri Mar 17 10:14:15 2017 From: jimka.issy at gmail.com (Jim Newton) Date: Fri, 17 Mar 2017 11:14:15 +0100 Subject: 2nd repl for same inferior lisp Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bpaschen at googlemail.com Fri Mar 17 10:56:56 2017 From: bpaschen at googlemail.com (Bjoern Paschen) Date: Fri, 17 Mar 2017 11:56:56 +0100 Subject: 2nd repl for same inferior lisp In-Reply-To: References: Message-ID: 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 . > >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 : > 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 From nlevine at ravenpack.com Fri Mar 17 11:05:41 2017 From: nlevine at ravenpack.com (Nick Levine) Date: Fri, 17 Mar 2017 12:05:41 +0100 Subject: 2nd repl for same inferior lisp In-Reply-To: References: Message-ID: 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 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 . > > > >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 : > > 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 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 . > > > >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 : > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From luismbo at gmail.com Fri Mar 17 13:36:48 2017 From: luismbo at gmail.com (=?UTF-8?Q?Lu=C3=ADs_Oliveira?=) Date: Fri, 17 Mar 2017 13:36:48 +0000 Subject: 2nd repl for same inferior lisp In-Reply-To: References: Message-ID: Have a look at the mrepl contrib. On Fri, Mar 17, 2017, 11:07 Nick Levine 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 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 . > > > >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 : > > 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 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 . > > > >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 : > > 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From evenson.not.org at gmail.com Mon Mar 27 14:41:16 2017 From: evenson.not.org at gmail.com (Mark Evenson) Date: Mon, 27 Mar 2017 16:41:16 +0200 Subject: 2nd repl for same inferior lisp In-Reply-To: References: Message-ID: On 3/17/17 11:14, Jim Newton wrote: > 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? If you want to start an additional inferior lisp process for the same implementation (not strictly "the same inferior lisp process" but maybe what you mean?): 1) visiting the REPL issue a M-x rename-uniquely 2) You may now start an additional REPL for the associated inferior lisp via the usual M-x slime invocation. -- "No, this is not a disentanglement, but a progressive /knotting-into/."