emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] new :async feature for org-babel-clojure


From: Frederick Giasson
Subject: Re: [O] [PATCH] new :async feature for org-babel-clojure
Date: Thu, 21 Apr 2016 08:34:29 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0

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

[Prev in Thread] Current Thread [Next in Thread]