[GBBopen-developer] SWANK cannot load when using initiate.lisp
Dan Corkill
corkill at gbbopen.org
Thu Apr 17 13:50:52 EDT 2008
> I... I just think *AFTER-INIT-HOOK* is a internal symbol. With
> following changes, everything seems OK:
Actually, there is a later GBBopen commit (r359) that addressed this
differently. However, more is needed to actually be able to use SLIME (and
the extended GBBopen REPL with it) with CCL.
The problem is that the :swank package is already created (and apparently
empty) in the latest CCL. This disables SLIME loading in the latest SLIME
(a change similar to what effected GBBopen's SLIME interface). The current
work-around is to check for and delete the :swank package in your CCL
initializations (which must run prior to the Swank startup done from
SLIME/Emacs).
If you are using a ccl-init.lisp file (and shared-init.lisp) as per the
GBBopen tutorial, then the following ccl-init.lisp file should work:
(in-package :cl-user)
(let ((swank-package (find-package ':swank)))
(when swank-package (delete-package swank-package)))
(let ((defaults *load-truename*))
(load (make-pathname
:name "shared-init"
:type "lisp"
:defaults defaults)))
Note that we plan to improve our latest extended-REPL support under SLIME
in the next day or so (for all you SLIMErs)...
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the GBBopen-developer
mailing list