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
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@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
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 bpaschen@googlemail.com 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 jimka.issy@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
On 17 March 2017 at 11:56, Bjoern Paschen bpaschen@googlemail.com 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 jimka.issy@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
Have a look at the mrepl contrib.
On Fri, Mar 17, 2017, 11:07 Nick Levine nlevine@ravenpack.com 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 bpaschen@googlemail.com 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 jimka.issy@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
On 17 March 2017 at 11:56, Bjoern Paschen bpaschen@googlemail.com 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 jimka.issy@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
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.
Finally got around to trying your suggestion. It killed my original repl (along with the background task that this was performing) and so gained me nothing.
- n
On 27 March 2017 at 16:41, Mark Evenson evenson.not.org@gmail.com wrote:
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?):
visiting the REPL issue a M-x rename-uniquely
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/."