[slime-devel] Corman support in latest slime CVS

I've tried configuring SLIME for Corman Lisp and have encountered the following error: ?(load "c:/slime/swank-loader.lisp") ;;; Warning: Unused variable G11633 in function COMPILE-FILES-IF-NEEDED-SERIALLY , File c:\slime\swank-loader.lisp, line 110 ;; Loading c:\slime\swank-backend.lisp ;; Loading c:\slime\nregex.lisp ;; Loading c:\slime\swank-corman.lisp ;; Loading c:\slime\swank-gray.lisp ;; Loading c:\slime\swank.lisp ;;; An error occurred in function #< COMPILED-FUNCTION: #xB351B0 >: ;;; Error: #<Error #xB3AE40> ;;; Entering Corman Lisp debug loop. ;;; Use :C followed by an option to exit. Type :HELP for help. ;;; Restart options: ;;; 1 Abort to top level. This used to work perhaps ~2 months ago when last I tried. I'm guessing that between now and then something was added to swank.lisp that Corman does not support? -Luke

On Fri, Oct 21, 2005 at 12:37:38AM +0000, Luke J Crook wrote:
I've tried configuring SLIME for Corman Lisp and have encountered the following error:
Ironically, I sent an email to Espen Wiborg earlier today about this and decided not to CC this list. Although I'm not sure what actual error you're encountering: #<Error #xB3AE40> doesn't tell us much :) On his site he has patches which are required to make SLIME work; among them is a stub implementation of machine-instance (here: http://www.grumblesmurf.org/corman-patches/modules/misc-ansi.lisp). Swank now also wants machine-version and machine-type; adding these stubs was enough to make SLIME work for me. -Andy

Andy Sloane <andy@guildsoftware.com> writes:
On Fri, Oct 21, 2005 at 12:37:38AM +0000, Luke J Crook wrote:
I've tried configuring SLIME for Corman Lisp and have encountered the following error: Ironically, I sent an email to Espen Wiborg earlier today about this <-snip-> On his site he has patches which are required to make SLIME work; among them is a stub implementation of machine-instance (here: http://www.grumblesmurf.org/corman-patches/modules/misc-ansi.lisp). Swank now also wants machine-version and machine-type; adding these stubs was enough to make SLIME work for me.
I've added stubs for machine-type and machine-version to that file. -- Espen Wiborg <ewiborg@common-lisp.net> An ostrich's eye is bigger than its brain.

Espen Wiborg <ewiborg <at> common-lisp.net> writes:
I've added stubs for machine-type and machine-version to that file.
Thanks Espen, that mostly did the trick. However 'M-x slime' is not able to connect to the corman image; it halts here:
;;; Warning: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER CALLS-WHO DISASSEMBLE-FRAME INTERRUPT-THREAD LIST-CALLEES LIST-CALLERS PROFILE PROFILE-PACKAGE PROFILE-REPORT PROFILE-RESET PROFILED-FUNCTIONS REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS RESTART-FRAME RETURN-FROM-FRAME SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN TOGGLE-TRACE UNPROFILE WHO-BINDS WHO-CALLS WHO-MACROEXPANDS WHO-REFERENCES WHO-SETS WHO-SPECIALIZES) 20 <<<
Slime works when I enter (swank:create-server) in the Corman console and then enter 'M-x slime-connect' in emacs. Thanks, -Luke
participants (3)
-
Andy Sloane
-
Espen Wiborg
-
Luke J Crook