Luke Gorrie luke@bluetail.com writes:
Bill_Clementson@peoplesoft.com writes:
My previous SLIME installation was a CVS install from 4/18. I've just
taken
the latest CVS install and the CLISP SLIME implementation (under
Windows)
breaks. Here is the error:
COERCE: #<MACRO #<COMPILED-CLOSURE SWANK::DEFSLIMEFUN>> cannot be
coerced
to type FUNCTION [Condition of type SIMPLE-TYPE-ERROR]
I can reproduce this but I've no idea what is causing it. It /looks/ like someone is trying to call defslimefun as a function rather than a macro, but I don't see where it could happen -- the macro is declared at the top of the only file that refers to it.
I did fix a different but similar problem that I got under CLISP. It seems like I had to swap the order of a couple of macros, one of which expanded into into code that calls the other, but that surely can't be the reason.
Backtrace: 0: EVAL frame for form (SWANK:CREATE-SWANK-SERVER 4007)
Mine actually gives an empty backtrace (!). I fixed the Elisp-side to handle that incase it helps someone more CLISP-savvy find the problem.
Has anybody had any luck in finding the source of this problem? CLISP still breaks for me in the latest CVS. I have had a look at all of the DEFSLIMEFUN's that were modified since 4/18 (the previous CVS version that I had which was working ok with CLISP) and haven't found any obvious clues. Any suggestions on how I might debug this issue as it occurs at startup during the slime-connect processing in Emacs (after CLISP has started up successfully)?
- Bill
Bill_Clementson@peoplesoft.com writes:
Has anybody had any luck in finding the source of this problem? CLISP still breaks for me in the latest CVS. I have had a look at all of the DEFSLIMEFUN's that were modified since 4/18 (the previous CVS version that I had which was working ok with CLISP) and haven't found any obvious clues. Any suggestions on how I might debug this issue as it occurs at startup during the slime-connect processing in Emacs (after CLISP has started up successfully)?
SWANK:ARGLIST was called with 'DEFSLIMEFUN to gather indentation info and caused the error. It wasn't trapped due to my recent changes. Should be fixed in CVS.
Helmut.
Helmut Eller e9626484@stud3.tuwien.ac.at writes:
Should be fixed in CVS.
I updated and confirmed that it works fine here on CLISP. Thanks.
I'm a lisp and slime newbie.
I just tried slime with these components and it is barfing for me as well.
GNU Emacs 21.3.1 GNU bash, version 3.00.16(11)-release (i686-pc-cygwin) GNU CLISP 2.35 (2005-08-29) (built on winsteingoldlap.bluelnk.net [192.168.7.100]) slime -- checked out of CVS this evening (Sun Dec 18 03:07:16 UTC 2005) Windows XP Pro
for me, I type M-x slime, the inferior lisp buffer appears and then I see these errors:
clisp> (load "c:/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp" :verbose t) clisp> (swank:start-server "c:/DOCUME~1/Jonathan/LOCALS~1/Temp/slime.1456" :external-format :iso-latin-1-unix) clisp> [...] clisp> Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 clisp> [...] clisp> clisp> [1]> clisp> *** - LOAD: A file with name clisp> /c/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp does not clisp> exist clisp> The following restarts are available: clisp> ABORT :R1 ABORT clisp> Break 1 [2]>
Since it looked like the path was bad, I tried manually loading the desired file like this:
clisp> Break 2 [6]> (load "/cygdrive/c/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp")
and it ended with this:
clisp> The following functions were used but are deprecated: clisp> clisp> SET - This function name is anachronistic. Use SETF SYMBOL-VALUE instead. clisp> 0 errors, 2 warnings clisp> WARNING: These Swank interfaces are unimplemented: clisp> (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER ALL-THREADS clisp> CALLS-WHO clisp> DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD clisp> RECEIVE clisp> REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-START clisp> SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-MACROEXPANDS clisp> WHO-SPECIALIZES) clisp> ;; Loaded file /cygdrive/c/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp clisp> T
Can anyone help me?
It looks like lots of other people are reporting slime/clisp/cygwin problems ...
For now I think I'll just go back to using the inf-lisp.el mode.
It would be nice to get the alledgedly powerful slime working though.
Regards, --jfc
Hello, did you set *device-prefix* to "cygdrive" in config.lisp? Seems that cygdrive/ is missing from the path
The warnings from the manaul load are no problem.
salud2
Karsten
clisp> /c/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp does not clisp> exist clisp> The following restarts are available: clisp> ABORT :R1 ABORT clisp> Break 1 [2]>
Since it looked like the path was bad, I tried manually loading the desired file like this:
clisp> Break 2 [6]> (load "/cygdrive/c/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp")
and it ended with this:
clisp> The following functions were used but are deprecated: clisp> clisp> SET - This function name is anachronistic. Use SETF SYMBOL-VALUE instead. clisp> 0 errors, 2 warnings clisp> WARNING: These Swank interfaces are unimplemented: clisp> (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER ALL-THREADS clisp> CALLS-WHO clisp> DISASSEMBLE-FRAME FIND-THREAD INSPECT-FOR-EMACS INTERRUPT-THREAD clisp> RECEIVE clisp> REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-START clisp> SLDB-BREAK-ON-RETURN SPAWN THREAD-ID TOGGLE-TRACE WHO-MACROEXPANDS clisp> WHO-SPECIALIZES) clisp> ;; Loaded file /cygdrive/c/cygwin/home/Jonathan/elisp/slime/slime/swank-loader.lisp clisp> T
KP> did you set *device-prefix* to "cygdrive" in config.lisp? Seems KP> that cygdrive/ is missing from the path
No, I didn't. I'll give that a try. Thanks!
--jfc
I have since given another 30 minutes to wrestling with the SLIME install and this time I appear to have won. Here is the trap I finally overcame:
(1) download the 1.2.1 and gave it a try with cygwin clisp 2.35. it failed. (2) followed the "get the latest from CVS" advice. That failed. (3) tried "get the FAIRLY-STABLE" tagged version. That failed.
I went back to the CVS HEAD version did one extra step and voila, it worked. Can you guess what that extra step was?
page down for the answer
Apparently you need to delete the "~/.slime/" directory if you change versions of slime.
It would be nice if slime/emacs could notice that I'm getting ALL my slime files (.lisp and .el) from a different directory than last time and either blow away the old .slime/ directory or perhaps ask me if I want to do this.
Alternatively, slime.info, PROBLEMS or README might mention this.
What pushed me to give SLIME a try again was that I had a problem with ILISP and when I went looking for the ILISP community it looked like it has been dead since 2002 or 2003 :^).
Cheers, --jfc