Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

March 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Feb  Apr

Reconnecting to a running Lisp with SLIME

Thursday, March 4, 2004

One of the nice features that I like about SLIME is the ability to re-connect to a running Lisp instance. For example, say you start up your Lisp in Emacs using something similar to what I described yesterday for ACL. You then fire off a "long-running process". You then close down Emacs (I know, I know - most of you just leave Emacs running all the time :-) but just work with me on this please!). Your ACL executable is still running. You later fire up Emacs again. To reconnect to your running Lisp, all you have to do is enter the command (using your host and port number of course):

"M-: (slime-connect "localhost" 4005)"

You are then re-connected to the running Lisp. Pretty neat, eh!

emacs Copyright © 2005 by Bill Clementson