On Nov 19, 2004, at 11:19 AM, Helmut Eller wrote:
"Marco Baringer" mb@bese.it writes:
the problem is that stream is a gray-stream, and openmcl doesn't take well to having a gray-stream on ccl::*auto-flush-streams*. i don't know what _should_ be done though (there must be something better than doing nothing).
I think the problem is that force-output is called on an input-stream. Perhaps we could try to only push output-streams onto ccl::*auto-flush-streams*.
FWIW, I had done a 'cvs up -D 2004-11-12' to get a working version. I just did a 'cvs up -A' to try Marco Baringer's patch against the current CVS version. I wanted to see if it was still the same and did M-x slime in a fresh Emacs session and got this in the *inferior-lisp* buffer:
Welcome to OpenMCL Version (Beta: Darwin) 0.14.2-p1! ? ;Loading #P"/Users/david/usr/src/slime/swank-loader.lisp"... ;; Compiling /Users/david/usr/src/slime/swank-backend.lisp... ;Loading #P"/Users/david/.slime/fasl/openmcl/swank-backend.dfsl"... ;; Compiling /Users/david/usr/src/slime/nregex.lisp... ;Loading #P"/Users/david/.slime/fasl/openmcl/nregex.dfsl"... ;; Compiling /Users/david/usr/src/slime/metering.lisp... ;Loading #P"/Users/david/.slime/fasl/openmcl/metering.dfsl"... ;; Compiling /Users/david/usr/src/slime/swank-openmcl.lisp... ;Loading #P"/Users/david/.slime/fasl/openmcl/swank-openmcl.dfsl"... ;; Compiling /Users/david/usr/src/slime/swank-gray.lisp... ;Loading #P"/Users/david/.slime/fasl/openmcl/swank-gray.dfsl"... ;; Compiling /Users/david/usr/src/slime/swank.lisp... ;Compiler warnings for "/Users/david/usr/src/slime/swank.lisp" : ; Unused lexical variable SOCKET-IO, in SIMPLE-SERVE-REQUESTS. ;Loading #P"/Users/david/.slime/fasl/openmcl/swank.dfsl"... ; Warning: These Swank interfaces are unimplemented: ; (ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER MACROEXPAND-ALL REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN) ; While executing: SWANK-BACKEND::WARN-UNIMPLEMENTED-INTERFACES ;Compiler warnings for "/Users/david/usr/src/slime/swank-openmcl.lisp" : ; Undefined function #:EQL-SPECIALIZER-OBJECT, in SWANK-BACKEND::SPECIALIZER-NAME. ; Undefined function #:CLASS-NAME, in SWANK-BACKEND::SPECIALIZER-NAME. #P"/Users/david/usr/src/slime/swank-loader.lisp" ? ;; Swank started at port: 52924.
Error in process listener(1): value :EXTERNAL-FORMAT is not of the
expected type (MEMBER :SPAWN :FD-HANDLER :SIGIO NIL).
While executing: SWANK::SETUP-SERVER Type :POP to abort.
Type :? for other options. 1 >