[O] babel header argument :var is not expanded when tangling

2017-12-23 Thread numbch...@gmail.com
Here is a quick test: * Test tangle will auto expand and substitute :var #+begin_src js :tangle kk.js console.log("hello, world!"); #+end_src #+begin_src js :var name="chris" :tangle require-kk.js // require("kk.js"); console.log("Hi, ", name); #+end_src #+RESULTS: : Hi, chris #+NAME: check

Re: [O] Hope ob-js can support :session feature

2017-12-23 Thread numbch...@gmail.com
I come up with an idea, use babel header argument :var to pass in the absolute path of tangled file. And ob-js will expand and replace that :var variable inside of JavaScript src block. So that you don't need to repeatly manually typing the absolute path of the tangled file. Maybe it only one for

[O] bug#11700: 24.1.50; Bad interaction between BiDi and org-tables

2017-12-23 Thread Nicolas Goaziou
Hello, Eli Zaretskii writes: >> From: Nicolas Goaziou >> Date: Fri, 08 Dec 2017 18:08:57 +0100 >> Cc: dov.grobg...@gmail.com, 11...@debbugs.gnu.org >> >> For tests, we use `org-test-with-temp-text' macro, e.g., >> >> (org-test-with-temp-text "| a | b

Re: [O] [RFC] Dog food, anyone?

2017-12-23 Thread Kaushal Modi
On Sat, Dec 23, 2017, 1:57 AM Yasushi SHOJI wrote: > I just tried rst exporter, which I just happen to be using, and it works > great, > with the following tiny patch. And the results is this. > > http://org-manual.readthedocs.io/en/latest/ > > Info and

[O] bug#11700: 24.1.50; Bad interaction between BiDi and org-tables

2017-12-23 Thread Eli Zaretskii
> Date: Sat, 23 Dec 2017 15:38:11 +0200 > From: Eli Zaretskii > Cc: dov.grobg...@gmail.com, 11...@debbugs.gnu.org > > I found both methods doing well, so I'm going to show both, and let > you decide which one is better. On second thought, I think Method 2 is better, because it

[O] bug#11700: 24.1.50; Bad interaction between BiDi and org-tables

2017-12-23 Thread Eli Zaretskii
> From: Nicolas Goaziou > Date: Fri, 08 Dec 2017 18:08:57 +0100 > Cc: dov.grobg...@gmail.com, 11...@debbugs.gnu.org > > For tests, we use `org-test-with-temp-text' macro, e.g., > > (org-test-with-temp-text "| a | b |\n| c | d |" > ... do something in that buffer

Re: [O] Error when using :show-process header argument in clojure

2017-12-23 Thread Nicolas Goaziou
Hello, Paul Dumais writes: > Hi I was trying to use the new :show-process header argument for clojure in > Org mode version 9.1.4 (9.1.4-13-g84cb63-elpaplus @ > (org-plus-contrib-20171218/) > > I get the following error: > org-babel-insert-result: Wrong type argument: markerp,

[O] bug#17523: 24.1; code block ":noweb no" ignored in org-mode

2017-12-23 Thread Nicolas Goaziou
Hello, "Stephen P. Schaefer" writes: > I'm trying to use org-mode noweb syntax to deal with erlang code that > involves bit strings. This is an example t.org file: > > #+STARTUP: indent > * top level > > #+begin_src erlang :noweb yes :tangle hello.erl > -module(hello). >