[Openmcl-devel] Clozure CL 1.8 now in Mac App Store
Bill St. Clair
wws at clozure.com
Mon Apr 30 11:23:06 CDT 2012
In the lisp image, you evaluate:
(swank:create-server :port 4005 :dont-close t)
The true value for :DONT-CLOSE allows you to disconnect and reconnect
In emacs, you do m-x slime-connect, 127.0.0.1, 4005 (where the commans
denote the "return/enter" key).
I use the following in my servers:
(unless (find-package "QUICKLISP")
(when (probe-file "~/quicklisp/setup.lisp")
(defun start-swank (&optional port)
(funcall (find-symbol "QUICKLOAD" :ql) "swank")
(funcall (find-symbol "CREATE-SERVER" :swank)
:port port :dont-close t)))
Then I can put -e "(start-swank $1)" in a shell script to allow
specifying the port on the command line.
On Mon, Apr 30, 2012 at 11:50 AM, Mark H. David <mhd at yv.org> wrote:
> Thanks for the ticket info, Matthew, and thanks for the info/reminder about
> the SLIME/Swank approach, Greg. Can you give a brief description of how to
> do this? Haven't use Swank much, and not for a while.
> On 4/27/2012 7:35 PM, Greg Pfeil wrote:
> On 27 Apr 2012, at 17:27, R. Matthew Emerson wrote:
> On Apr 27, 2012, at 7:00 PM, Mark H. David wrote:
> That works fine, thanks. Somewhat related, and I'm sure an amateur
> question, but....
> How do I tie into this release from SLIME? I have to give SLIME an
> executable, but
> once I get to /Applications/Clozure CL.app/Contents, I feel I'm not in
> Kansas anymore.
> So, in (setq inferior-lisp-program "xxx"), what should xxx be after I've
> from the Mac App Store?
> You can't currently start up the Mac App Store version of CCL as a
> command-line application. http://trac.clozure.com/ccl/ticket/956
> is the ticket for adding that.
> Of course, even though you can't (easily) start it via SLIME, if your CCL
> init file starts a swank server, slime-connect will still let you use SLIME
> after running the IDE.
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel