|
From: | Frederick Giasson |
Subject: | Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT? |
Date: | Wed, 30 Mar 2016 13:06:14 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
Hi Jon,
You can see a commented out version for shell blocks here: https://github.com/jkitchin/jmax/blob/master/jmax-org.el#L936 It looks like I just redefined the org-babel-execute:sh function after it was loaded. That may not be recommended good practice, but it works ;) I am not sure why it is commented out, maybe because I don't use it alot and its not well tested. You could always bind your own key sequence instead of C-c C-c.
Yes this is right, probably better/easier/cleanerI am almost here with my code. In fact, it is quite different than yours since the nrepl does async communication. So far, I am really just using the Buffer in a new window idea from your code since I don't need to do anything with external files.
Will keep you updated! Thanks, Fred
[Prev in Thread] | Current Thread | [Next in Thread] |