emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Why ob-clojure.el does not respect :dir header argument?


From: Tim Cross
Subject: Re: [O] Why ob-clojure.el does not respect :dir header argument?
Date: Thu, 29 Jun 2017 12:40:08 +1000

ob-clojure is limited by what can be done via the interfaces offered by cider. Have a look at the ob-clojure.el source code - it is very simple and does not have options/interfaces to support the full range of possible source block headers. Someone may be able to implement this, but nobody has. Feel free to have a go at it.

IMO ob-clojure is only written to do very basic clojure code evaluation. If you want something more complex, you have to add that hyourself. 



On 28 June 2017 at 21:01, address@hidden <address@hidden> wrote:
In Org-mode Info page, the header argument `:dir` is used to specify the default directory for code block execution.
But `ob-clojure` with `cider` as backend, will always use the `cider-jack-in` directory as default working directly. Is there a way to change this?

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/



--
regards,

Tim

--
Tim Cross


reply via email to

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