On Mon, Nov 23, 2015 at 4:18 PM, Gábor Melis mega@retes.hu wrote:
Then switch to *slime-scratch* and evaluate with C-x C-e the loop form. The output goes to the repl regardless of *globally-redirect-io*. Now disconnect, reconnect and there is no more output although the thread is still there.
Right, so what happens in that scenario is that a thread is spawned via SWANK::SPAWN-WORKER-THREAD to handle the C-x C-e request and eventually calls SWANK::WITH-IO-REDIRECTION which will bind the various stream variables to the specific REPL stream created for the current connection.
I've attached a tentative fix for your use case.
I'll have to think a little bit about the broader implications. Can you tell me a bit more about how your use case came about? That might help.
Cheers,