<div dir="ltr">Hello,<div><br></div><div>This is on Windows, on a several months old Slime.</div><div><br></div><div>I am using org-mode's babel with the lisp module to document a data analysis project.</div><div><br></div><div>In one of the first code blocks I initialize a stream that communicates with GNUPlot. Subsequent blocks (BEGIN_SRC...END_SRC) send plot commands, one plot per code block.</div><div><br></div><div>In a slime session, I can generate multiple plots communicating with that one stream.</div><div><br></div><div>But in the org-mode, after successfully creating the first plot, the subsequent ones raise the error that the stream is private to a thread.  So I have to restart GNUplot for each plot.</div><div><br></div><div>In a previous email exchange on the list (unrelated to org-mode) it was pointed out that executing code via REPL in Slime uses a different thread then executing code from a lisp buffer.  I assume something like that is going on here as well.</div><div><br></div><div>So, is there a way for me to store the process thread which invoked GNUplot, and use that one for execution of subsequent code blocks?</div><div><br></div><div>Thanks,</div><div><br></div><div>Mirko</div></div>