CL-USER> (dotimes (i 10) (format t "~A~%" i))
NIL
CL-USER> (loop for i in '(1 2 3 4 5) do (print i))
NIL
Nothing is printed, only the return value NIL.
This does not happen with CLISP.
Trying to set up Slime and emacs and SBCL or CLISP in Windows was
really not without problems.
I wonder if adding a (finish-output) would help? Try:
(dotimes (i 10 (finish-output)) (format t "~A~%" i))
(loop :for i :in '(1 2 3 4 5) :do (print i) :finally (finish-output))
--
__Pascal Bourguignon__
sb-sys::serve-event (used by slime) is known to be broken on MSWin.
If you want to help fix it, track down Alastair Bridgewater.
IIRC, this is broken because POSIX (read: real) OSs can call select()
and friends on the same file descriptor used by read() and friends.
MSWin uses one file handle for reading and a separate event handle for
activity callbacks. SBCL was designed for a single file id. Some
hacking required to attach event handles to file handles...
- Daniel
>I wonder if adding a (finish-output) would help? Try:
>
>(dotimes (i 10 (finish-output)) (format t "~A~%" i))
>(loop :for i :in '(1 2 3 4 5) :do (print i) :finally (finish-output))
No, unfortunetly it doesn't help, still no side-effects-print-format
visible, only the value returned.
All I found so far I is an e-mail address from a WEB page last updated
on june 2004.
>Emacs 22.3.1
I apologize, in the subject I mentioned erroneously EmacsW32. Infact I
meant just Emacs for Windows, which what I am using.