Hi Nicolas,

As for 3 and 4, I think a more general mechanism for asynchrnous
eval'ing would be preferable. Besides, AFAIU, because of

    ; Wait until the nREPL code finished to be processed
    (while (not (member "done" status))
      (nrepl-dict-put response "status" (remove "need-input" status))
      (accept-process-output nil 0.01)
      (redisplay))

`org-babel-execute:clojure' is still somewhat synchronous, isn't it?


Yes, and this is what I was mentioning initially (here, I think, and on my blogpost about it). I just don't know how all this processing could be handled in a different thread. That way it would free the current threads and we could continue to work with the current instance while the processing is happening because as I mentioned, everything is still stuck during the processing.

Right now, async is really more about "feedback" than "asynchronous". However it has never been clear is it was possible or not, and if so, how :)

Any pointers on how this could be done in emacs?

Thanks,

Fred



Regards,



Reply via email to