when loading slime (1.2.1) with xemacs (21.4 - patch 13) (on a winxp box with the latest cygwin setup) i get the following error:
WARNING: DEFMETHOD: redefining method (LISP-IMPLEMENTATION-TYPE-NAME NIL)
i checked the archives and came across a similar question from justinhj, but never found the answer:
From justinhj at gmail.com Thu Sep 29 15:55:54 2005
From: justinhj at gmail.com (Justin Heyes-Jones) Date: Thu Sep 29 16:24:16 2005 Subject: [slime-devel] Slime not working with latest Cygwin update? Message-ID: ee5546040509290655647f6c6e@mail.gmail.com
here's my entire *inferior-lisp* buffer:
(load "/usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-loader.lisp" :verbose t) i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2005
[1]> ;; Loading file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-loader.lisp ... ;; Compiling file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-backend.lisp ... ;; Wrote file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/swank-backend.fas ;; Loading file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/swank-backend.fas ... ;; Loaded file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/swank-backend.fas ;; Compiling file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/nregex.lisp ... ;; Wrote file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/nregex.fas ;; Loading file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/nregex.fas ... ;; Loaded file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/nregex.fas ;; Compiling file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/xref.lisp ... ;; Wrote file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/xref.fas ;; Loading file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/xref.fas ... ;; Loaded file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/xref.fas ;; Compiling file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/metering.lisp ... ;; Wrote file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/metering.fas ;; Loading file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/metering.fas ... ;; Loaded file /cygdrive/c/home/sean/.slime/fasl/clisp-2.35-unix-pc386/metering.fas ;; Compiling file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-clisp.lisp ... WARNING: DEFMETHOD: redefining method (LISP-IMPLEMENTATION-TYPE-NAME NIL) in
/usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-clisp.lisp, was defined in
/usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-backend.lisp ** - Continuable Error INTERN("*DOCUMENTATION*"): #<PACKAGE SYSTEM> is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: SKIP :R1 skip (COMPILE-FILES-IF-NEEDED-SERIALLY #) STOP :R2 stop loading file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-loader.lisp ABORT :R3 ABORT
*** - UNIX error 13 (EACCES): Permission denied The following restarts are available: SKIP :R1 skip (COMPILE-FILES-IF-NEEDED-SERIALLY #) STOP :R2 stop loading file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-loader.lisp ABORT :R3 ABORT Break 1 SWANK-BACKEND[2]>
any thoughts? btw, i've gotten this to work on a different box with an older version of xemacs and cygwin.
thanks!
* Sean McGrath [2006-01-09 00:47+0100] writes:
when loading slime (1.2.1) with xemacs (21.4 - patch 13) (on a winxp box with the latest cygwin setup) i get the following error:
WARNING: DEFMETHOD: redefining method (LISP-IMPLEMENTATION-TYPE-NAME NIL)
This is just a warning. You can safely ignore it.
** - Continuable Error INTERN("*DOCUMENTATION*"): #<PACKAGE SYSTEM> is locked If you continue (by typing 'continue'): Ignore the lock and proceed The following restarts are also available: SKIP :R1 skip (COMPILE-FILES-IF-NEEDED-SERIALLY #) STOP :R2 stop loading file /usr/local/lib/xemacs/xemacs-packages/lisp/slime-1.2.1/swank-loader.lisp ABORT :R3 ABORT
I think this has been fixed in CVS. If you don't want to switch to the CVS version, but are willing to patch your swank-clisp.lisp here's the current definition:
(defun fspec-pathname (symbol) (let ((path (documentation symbol 'sys::file)) lines) (when (consp path) (psetq path (car path) lines (cdr path))) (when (and path (member (pathname-type path) custom:*compiled-file-types* :test #'equal)) (setq path (loop for suffix in custom:*source-file-types* thereis (probe-file (make-pathname :defaults path :type suffix))))) (values path lines)))
any thoughts? btw, i've gotten this to work on a different box with an older version of xemacs and cygwin.
The bug was triggered by a change from CLISP 2.34 to 2.35. Maybe your older cygwin had an older CLISP.
Helmut.