From: someone
Subject: help: Server Slave 1 busy, compilation of "(defun bar" queued. [was]  Loading new definitions into running program images?
Date: 
Message-ID: <eba94853.0307302354.14f29074@posting.google.com>
I'm playing with hemlock following:

http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=twkd6g3ufor.fsf%40gulbis.latnet.lv&rnum=10

But when I change the defination of bar and type #k"C-x C-e", it only
shows:

    Server Slave 1 busy, compilation of "(defun bar" queued.


and in the other window I only got:

...
This is an erroneous piece of code.
This is an erroneous piece of code.
This is an erroneous piece of code.
This is an erroneous piece of code.
...

Am I missing something?

From: Janis Dzerins
Subject: Re: help: Server Slave 1 busy, compilation of "(defun bar" queued. [was]  Loading new definitions into running program images?
Date: 
Message-ID: <twk8yqeagp3.fsf@gulbis.latnet.lv>
········@yahoo.com (someone) writes:

> I'm playing with hemlock following:
> 
> http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=twkd6g3ufor.fsf%40gulbis.latnet.lv&rnum=10
> 
> But when I change the defination of bar and type #k"C-x C-e", it only
> shows:
> 
>     Server Slave 1 busy, compilation of "(defun bar" queued.
> 
> 
> and in the other window I only got:
> 
> ...
> This is an erroneous piece of code.
> This is an erroneous piece of code.
> This is an erroneous piece of code.
> This is an erroneous piece of code.
> ...
> 
> Am I missing something?

We don't see your code.  I assume the "other" window is the slave
process buffer.  The best help I can offer is -- when you see the
message "Slave <name> busy, ... queued", you can do two things:

1. See what actions are queued, by pressing H-l (C-c l);
2. Cancel all operations by pressing H-a (C-c a);

I have got the "busy" messages too, but that usually was because the
compilation/evaluation of form cannot be done without user
intervention, and there is a debug prompt in salave buffer (use C-M-c
to switch to it).  This happens, for instance, when trying to evaluate
defpackage form and there are some symbol conflicts.

-- 
Janis Dzerins

  If million people say a stupid thing, it's still a stupid thing.
From: someone
Subject: Re: help: Server Slave 1 busy, compilation of "(defun bar" queued. [was]  Loading new definitions into running program images?
Date: 
Message-ID: <eba94853.0307310918.4817f889@posting.google.com>
Janis Dzerins <·····@latnet.lv> wrote in message 

Thanks for your reply.

> We don't see your code.  

Oh, sorry I should also mention the previous message in that thread:

http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=u765lwwr42.fsf%40snapdragon.csl.sri.com&rnum=5

I'm trying to play it in Hemlock.  The code are:

(defun bar ()
  (format t "This is an erroneous piece of code.~%"))

(defun foo ()
    (loop do (bar)
          do (sleep 1)))

after "C-x C-c" to compile the above,

(foo)

type "C-x C-e" to eval (foo)

...
This is an erroneous piece of code.
This is an erroneous piece of code.
This is an erroneous piece of code.
...

When the program is still running, change bar as:

(defun bar ()
  (format t "This is good code.~%"))

And type "C-x C-c" to compile it *while* the program is still running.

I would expect:

...
This is an erroneous piece of code.
This is an erroneous piece of code.
This is an erroneous piece of code.
;;;Compiling defun bar
; Converted BAR.
; Compiling LAMBDA NIL: 
; Compiling Top-Level Form: 
BAR
0] This is good code.
This is good code.
This is good code.
This is good code.
...

But I got:

Server Slave 1 busy, compilation of "(defun bar" queued.

Can you help me on this?


> I assume the "other" window is the slave process buffer.

Yes, you're right.

> The best help I can offer is -- when you see the
> message "Slave <name> busy, ... queued", you can do two things:
> 
> 1. See what actions are queued, by pressing H-l (C-c l);
> 2. Cancel all operations by pressing H-a (C-c a);

Oh, I don't want to do this.  See the above link, this defeat the
purpose of:  "Loading new definitions into running program images" 
:-)
From: Fred Gilham
Subject: Re: help: Server Slave 1 busy, compilation of "(defun bar" queued. [was]  Loading new definitions into running program images?
Date: 
Message-ID: <u7u18wkrba.fsf@snapdragon.csl.sri.com>
········@yahoo.com (someone) wrote:
> Oh, sorry I should also mention the previous message in that thread:
> 
> http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&selm=u765lwwr42.fsf%40snapdragon.csl.sri.com&rnum=5
> 
> I'm trying to play it in Hemlock.  The code are:

Hi,

I gave the original example.  It was meant for CMUCL and Ilisp.  I
don't use hemlock so I don't know how to get this effect in hemlock.
I would expect you could, but I may be wrong.

Sorry for any confusion.

-- 
Fred Gilham                                       ······@csl.sri.com
I know the strange tale of the Slug; / the Early Sin -- the Fall --
the Sleep -- the Vision -- and the Vow -- / the Quest -- the Crown --
the Call.                                      --- G. K. Chesterton