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 result in the src block.

Bastien <b...@gnu.org> writes:

> Hi stardiviner,
>
> this should be fixed in latest master, please test it and
> report any problem.
>
> Thanks,


-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      
* test 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[<2020-02-12 18:41:03> 559e1d5d2e56334675f94f553b0d89c18ae938dc]: 
read-in-wxid
: #'user/files

#+begin_src clojure :noweb yes :results pp
<<read-in-wxid>>
(take 3 files)
#+end_src

#+RESULTS[<2019-08-28 09:12:30> 9bbcd9f779f72bdd9b7bb8fb85aa36bbdfee7e3c]:
: class clojure.lang.Compiler$CompilerExceptionclass 
clojure.lang.Compiler$CompilerExceptionCompilerException 
java.lang.RuntimeException: Unable to resolve symbol: cwd in this context, 
compiling:(*Org Src Code.org[ clojure ]*:3:16) 

Attachment: signature.asc
Description: PGP signature

Reply via email to