Re: [O] [Discuss] make :tangle header argument respect :dir could save info typing

2019-03-19 Thread stardiviner
Sean O'Halpin writes: > Hi, > > =:dir= specifies the directory for code execution, i.e. when you hit =C-c > C-c= what is the environment in which the code is run? I know currently it specify directory for code execution. I'm saying whether consider extend =:dir= semantic for tangling too.

Re: [O] [Discuss] make :tangle header argument respect :dir could save info typing

2019-03-19 Thread Sean O'Halpin
Hi, =:dir= specifies the directory for code execution, i.e. when you hit =C-c C-c= what is the environment in which the code is run? =:mkdirp= forces creation of the directory for tangle output, i.e. when you =org-babel-tangle= where do you put the output source code? They are quite separate

[O] [Discuss] make :tangle header argument respect :dir could save info typing

2019-03-04 Thread stardiviner
I realized one thing, the combination of ~:mkdir~, ~:dir~, and ~:tangle~ does not work good enough. Can make ~:tangle~ respect ~:dir~ too. WDYT? Here is an example: #+begin_src clojure :mkdirp yes :dir "data/code/clj-crawler-demo" :tangle "src/clj_crawler_demo/core.clj" (ns