Re: ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-12 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien writes: > Hi stardiviner, > > stardiviner writes: > >> You can see the error result in the src block. > > The attached .org file works for me - I put requirements in a separate > source block and I repeat the :var setting in the last src

Re: ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-12 Thread Bastien
Hi stardiviner, stardiviner writes: > You can see the error result in the src block. The attached .org file works for me - I put requirements in a separate source block and I repeat the :var setting in the last src block. If you find an occurrence in other languages where the repeated setting

Re: ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-12 Thread stardiviner
I check out the latest master, seems still not fixed. From your another thread email, I guess you don't have email reading with Org Mode, so can't read org format text. So I attach an Org file for testing ob-clojure :var header argument in noweb reference in attachment. You can see the error res

Re: ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-12 Thread Bastien
Hi stardiviner, this should be fixed in latest master, please test it and report any problem. Thanks, -- Bastien

Re: ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-12 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This problem seems missed. Let me resume it with a gentle ping. I know not much people in this mailing list using ob-clojure.el. Still hope someone can fix it. stardiviner writes: > Here is an example: > > #+NAME: read-in-wxid > #+begin_src clo

Re: ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-12 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This problem is missed, Let me resume it. stardiviner writes: > Here is an example: > > #+NAME: read-in-wxid > #+begin_src clojure :var cwd=(file-truename "~/Documents/WeChat/wxid/") > (require '[clojure.java.io :as io]) > > (def directory (io/fi

ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-05 Thread stardiviner
Here is an example: #+NAME: read-in-wxid #+begin_src clojure :var cwd=(file-truename "~/Documents/WeChat/wxid/") (require '[clojure.java.io :as io]) (def directory (io/file cwd)) (def files (filter #(.isFile %) (file-seq directory))) #+end_src #+RESULTS[<2019-08-28 09:12:24> 84a1210d836742ca71