[slime-devel] Re: What is the difference between different ways to evaluate lisp forms?

Anders Conradi beque at telia.com
Mon Jun 21 13:23:20 UTC 2004


On måndag, jun 21, 2004, at 14:19 Europe/Stockholm, Luke Gorrie wrote:

> Martin Simmons <martin at xanalys.com> writes:
>
>> Could be a threading issue -- Cocoa things should be run in the
>> thread that is created by the OS when the application starts, which
>> might be the inferior-lisp buffer.
>
> The weird part is that pressing `C-x C-e' should do the same thing in
> *inferior-lisp* as in any other buffer. Only pressing return would
> actually send the input to the listener. But there must be something
> subtle at work..
>

As thread interaction is very fragile and the symptoms can easily be 
this subtle unless all ducks are in a perfect row, and since my duck 
was out of line, I am sure this explains everything.

Since doing C-x C-e in the *slime-repl* buffer uses the same thread as 
pressing enter after the expression in the repl and C-x C-e in 
*inferior-lisp* uses a worker thread, I am sure there is some timing 
issue that causes the difference.

Thanks you all for your time, and sorry if I wasted it.

// Anders





More information about the slime-devel mailing list