Emacs 22.3.1
Last CVS version of Slime
SBCL 1.0.22
Windows XP
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.
An[z]elmus wrote:
> Emacs 22.3.1
> Last CVS version of Slime
> SBCL 1.0.22
> Windows XP
>
> 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.
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
On Mon, 02 Mar 2009 23:03:47 -0500, D Herring
<········@at.tentpost.dot.com> wrote:
>> Emacs 22.3.1
>> Last CVS version of Slime
>> SBCL 1.0.22
>> Windows XP
>>
>> 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.
>
>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.
All I found so far I is an e-mail address from a WEB page last updated
on june 2004.
An[z]elmus wrote:
> On Mon, 02 Mar 2009 23:03:47 -0500, D Herring
> <········@at.tentpost.dot.com> wrote:
>>> Emacs 22.3.1
>>> Last CVS version of Slime
>>> SBCL 1.0.22
>>> Windows XP
>>>
>>> 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.
>> 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.
>
> All I found so far I is an e-mail address from a WEB page last updated
> on june 2004.
Try this:
http://sourceforge.net/users/lisphacker
- Daniel
"An[z]elmus" <·······@somewhere.org> writes:
> Emacs 22.3.1
> Last CVS version of Slime
> SBCL 1.0.22
> Windows XP
>
> 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__
On Tue, 03 Mar 2009 03:38:34 +0100, ···@informatimago.com (Pascal J.
Bourguignon) wrote:
>> Emacs 22.3.1
>> Last CVS version of Slime
>> SBCL 1.0.22
>> Windows XP
>>
>> 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.
>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.
On Mon, 02 Mar 2009 23:58:48 +0100, "An[z]elmus"
<·······@somewhere.org> wrote:
>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.