Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-27 Thread Nicolas Goaziou
Aaron Ecay writes: > (As an aside: is org-footnote-auto-adjust TRT for the manual? It seems > like it will lead to lots of churn every time a footnote is added or > removed...) This is a trade-off, indeed. It adds churn in diffs, but it's more natural to follow when editing or simply reading th

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-27 Thread Aaron Ecay
Hi Nicolas, 2018ko maiatzak 27an, Nicolas Goaziou-ek idatzi zuen: > > Hello, > > Aaron Ecay writes: > >> Iʼve pushed commit 1643f70d3 to master which documents this behavior. > > Thank you. Please have a look at the consistency edits I made to it. Thanks very much. (As an aside: is org-foot

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-27 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > Iʼve pushed commit 1643f70d3 to master which documents this behavior. Thank you. Please have a look at the consistency edits I made to it. > Iʼm inclined not to make the change now, but (hopefully remember to) > revisit it when Org 10 is imminent. I agree now is cl

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-27 Thread Aaron Ecay
Hi Alex, 2018ko maiatzak 25an, Alex Fenton-ek idatzi zuen: [...] > Now I understand how it was intended (a shortcut for people who are > scrupulous about using #+NAME) it makes sense. Iʼve pushed commit 1643f70d3 to master which documents this behavior. > I was thinking it was meant as an e

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-25 Thread Alex Fenton
Hi Aaron First of all, no issue arises with :output-dir alone. It can be specified as a global header arg without issue. Yes, now I check again that's true. Thank you for clearing that up. I designed :file-ext as a direct replacement for :file. That is, instead of the above, one would spec

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-25 Thread Aaron Ecay
Hi Nicolas, hi Alex, First of all, no issue arises with :output-dir alone. It can be specified as a global header arg without issue. The situation with :file is that it (currently and at all relevant times in the past AFAIK) implies :results file. That is because it would be a little strange if

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-24 Thread Alex Fenton
On 25/05/18 01:13, Nicolas Goaziou wrote: Hello, Alex Fenton writes: As far I understand it, |:output-dir| and |:file-ext| that were intended to be used in the global document header, applying to all blocks. However, it seems to mean that all blocks regardless of their :results args then emi

Re: [O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-24 Thread Nicolas Goaziou
Hello, Alex Fenton writes: > As far I understand it, |:output-dir| and |:file-ext| that were > intended to be used in the global document header, applying to all > blocks. > > However, it seems to mean that all blocks regardless of their :results > args then emit a file, and put their output as

[O] Babel - :export-dir and :file-ext arguments cause all blocks to emit files

2018-05-24 Thread Alex Fenton
Hi, As far I understand it, |:output-dir| and |:file-ext| that were intended to be used in the global document header, applying to all blocks. However, it seems to mean that all blocks regardless of their :results args then emit a file, and put their output as a [file:] link. It's not clear