Hi,
At some point SBCL's threading model changed, and that seems to have broken something in slime. (Some people will say at this point that I reap what I sow...).
Specifically, while running (swank:ed-in-emacs 'and) in the REPL gives me an interface to choose which AND I would like to edit, running (sb-thread:make-thread (lambda () (swank:ed-in-emacs 'and))) gives me "NIL is not of type SWANK::CONNECTION". So at a guess this comes from the change in the initial value for special variables in new threads.
What should I be looking at?
Cheers,
Christophe
* Christophe Rhodes [2006-03-17 19:21+0100] writes:
What should I be looking at?
swank-debugger-hook needs something similar. Either you pass the connection from the parent thread down to the child or you use the default connection like so:
(sb-thread:make-thread (lambda () (with-connection ((default-connection)) (swank:ed-in-emacs 'and))))
Helmut.
Helmut Eller heller@common-lisp.net writes:
- Christophe Rhodes [2006-03-17 19:21+0100] writes:
What should I be looking at?
swank-debugger-hook needs something similar. Either you pass the connection from the parent thread down to the child or you use the default connection like so:
(sb-thread:make-thread (lambda () (with-connection ((default-connection)) (swank:ed-in-emacs 'and))))
Thank you.
Would something like the attached patch be acceptable? (The intent is to have swank:ed-in-emacs "just work" as a function that can be used as CL:ED).
Cheers,
Christophe