On Apr 2, 2010, at 2:20 PM, Helmut Eller wrote:
- Patrick May [2010-04-02 19:20+0200] writes:
My goal is to have my development and testing in Slime reflect exactly what will happen when I run the same code in the same file from the command line. I see three possible ways of achieving this:
- Configure Clozure to behave more like SBCL, if possible.
- Use swank:*default-worker-thread-bindings* externally to the file somehow.
- Set swank:*communication-style* to :fd-handler.
:fd-handler doesn't work with CCL. You could set swank:*communication-style* to nil, which works with every backend, but of course loses some niceties, eg. you can't use M-. while Lisp does a lengthy computation.
Thanks for the details. Is supporting :fd-handler for CCL on the roadmap?
What is my best option?
Well, the easiest would be not to mess around with custom read syntax and follow the old advice: "don't fight your tools".
Like Slime, CLSQL is a pretty standard tool. I'm surprised to have so much trouble using them together.
Thanks again for the help.
Regards,
Patrick