[GBBopen-developer] SWANK cannot load when using initiate.lisp

Chun Tian (binghe) binghe.lisp at gmail.com
Thu Apr 17 00:42:33 EDT 2008


Hi, GBBopen developer

I'm using Emacs SLIME (CVS) and Clozure CL 1.1 on Mac OS X.

In extended-repl.lisp, you define a swank package:

;;;  
= 
= 
= 
========================================================================
;;;  SLIME Interface

(defpackage :swank
   (:use :common-lisp))

(defvar swank::*new-connection-hook*)
(defvar swank::*slime-repl-eval-hooks*)

In CVS SLIME, the swank-loader.lisp has this:

(defun init (&key delete reload load-contribs (setup t))
   (when (and delete (find-package :swank))
     (mapc #'delete-package '(:swank :swank-io-package :swank-backend)))
   (cond ((or (not (find-package :swank)) reload)
          (load-swank))
         (t
          (warn "Not reloading SWANK.  Package already exists.")))
   (when load-contribs
     (compile-contribs :load t))
   (when setup
     (setup)))

So if I load initiate.lisp on CCL startup, I cannot load SWANK since  
the SWANK package already exist.

Any solution?

Regards,

Chun Tian (binghe)


-- 
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