On Mon, 21 Jun 2004 00:40:40 +0200, Anders Conradi beque@telia.com said:
Anders> If I start slime using openmcl 0.14.2-p1 on jaguar (mac os 10.2) I get Anders> different behaviours that I can't explain when I evaluate lisp forms Anders> fin different ways.
Anders> I get one behaviour when I type C-x C-e after the form in the Anders> *slime-repl* buffer or when I type the form at the prompt and press Anders> enter and another behaviour when I type C-x C-e after the form in the Anders> *inferior-lisp* buffer.
Anders> The form in question opens a cocoa-window using a window-controller Anders> that is supposed to release the window when the window is closed. The Anders> problem is that the window is only released and deallocated when I Anders> evaluate the form to open the window from the inferior-lisp buffer by Anders> typing C-x C-e, not in the other cases.
Anders> Could you please give me some hints about the differences in evaluating Anders> forms in the various ways I described so that I might get to the bottom Anders> of this annoying bug I have. I have torn my hair out for almost a week Anders> trying to locate this bug in my code and now I am quite desperate. The Anders> bug only manifests itself with very particular combinations of the Anders> lisp-code that drives the gui and the nib-file that defines the gui.
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.
__Martin