From: An[z]elmus
Subject: SBCL Slime and emacsW32
Date: 
Message-ID: <odooq41tnsvcq2escfri60m5t77kmn17m1@4ax.com>
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.

From: D Herring
Subject: Re: SBCL Slime and emacsW32
Date: 
Message-ID: <49acac23$0$3336$6e1ede2f@read.cnntp.org>
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
From: An[z]elmus
Subject: Re: SBCL Slime and emacsW32
Date: 
Message-ID: <ct0qq4h7bn8tn62t8fugt7kaogppcdtmms@4ax.com>
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.
From: D Herring
Subject: Re: SBCL Slime and emacsW32
Date: 
Message-ID: <49ad27de$0$3340$6e1ede2f@read.cnntp.org>
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
From: Pascal J. Bourguignon
Subject: Re: SBCL Slime and emacsW32
Date: 
Message-ID: <87ljrn49g5.fsf@galatea.local>
"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__
From: An[z]elmus
Subject: Re: SBCL Slime and emacsW32
Date: 
Message-ID: <de0qq4phhvll5g2vmbaqm2ch23jn9jjh30@4ax.com>
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. 
From: An[z]elmus
Subject: Re: SBCL Slime and emacsW32
Date: 
Message-ID: <pjeqq4lf9grogjorfojs2eg1h2p2bf3ufv@4ax.com>
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.