* "header-args :eval inline-only" not working
@ 2017-08-19 16:36 Vikas Rawal
2017-08-19 19:27 ` Nicolas Goaziou
0 siblings, 1 reply; 13+ messages in thread
From: Vikas Rawal @ 2017-08-19 16:36 UTC (permalink / raw)
To: org-mode mailing list
My org-version (latest on org ELPA) is: Org mode version 9.0.9 (9.0.9-82-gb862c2-elpa @ /Users/vikas/.emacs.d/elpa/org-20170814/)
The following is not working:
#+PROPERTY: header-args :eval inline-only
":eval never-export” works; but ":eval inline-only" does not.
I can deal with this by globally changing the option using:
(org-export-babel-evaluate (quote inline-only))
But this creates another problem. After this, org does not respect “:exports results” and exports both the code and results.
Has anyone else faced this?
If I start my emacs with a -q, emacs picks up the org version that came with my version of emacs (25.2.1):
Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs-mac/emacs-25.2-z-mac-6.5/share/emacs/25.2/lisp/org/)
With this, everything works! “:eval inline-only” is respected and so is “:exports results”.
Have I stumbled on a bug in the current version?
Vikas
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-19 16:36 "header-args :eval inline-only" not working Vikas Rawal
@ 2017-08-19 19:27 ` Nicolas Goaziou
2017-08-19 20:36 ` Vikas Rawal
0 siblings, 1 reply; 13+ messages in thread
From: Nicolas Goaziou @ 2017-08-19 19:27 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
Hello,
Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> My org-version (latest on org ELPA) is: Org mode version 9.0.9 (9.0.9-82-gb862c2-elpa @ /Users/vikas/.emacs.d/elpa/org-20170814/)
>
> The following is not working:
>
> #+PROPERTY: header-args :eval inline-only
>
> ":eval never-export” works; but ":eval inline-only" does not.
What is "not working"?
> I can deal with this by globally changing the option using:
>
> (org-export-babel-evaluate (quote inline-only))
>
> But this creates another problem. After this, org does not respect “:exports results” and exports both the code and results.
Could you provide an ECM?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-19 19:27 ` Nicolas Goaziou
@ 2017-08-19 20:36 ` Vikas Rawal
2017-08-19 22:10 ` Berry, Charles
0 siblings, 1 reply; 13+ messages in thread
From: Vikas Rawal @ 2017-08-19 20:36 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode mailing list
[-- Attachment #1: Type: text/plain, Size: 1149 bytes --]
> On 20-Aug-2017, at 12:57 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Vikas Rawal <vikaslists@agrarianresearch.org> writes:
>
>> My org-version (latest on org ELPA) is: Org mode version 9.0.9 (9.0.9-82-gb862c2-elpa @ /Users/vikas/.emacs.d/elpa/org-20170814/)
>>
>> The following is not working:
>>
>> #+PROPERTY: header-args :eval inline-only
>>
>> ":eval never-export” works; but ":eval inline-only" does not.
>
> What is "not working”?
":eval inline-only" has no effect. It still tries to evaluate all code blocks.
>> I can deal with this by globally changing the option using:
>>
>> (org-export-babel-evaluate (quote inline-only))
>>
>> But this creates another problem. After this, org does not respect “:exports results” and exports both the code and results.
>
> Could you provide an ECM?
Please see the attached file.
When I export this, it still tries to evaluate the code block ind1_t2_hhd_code. If I use (org-export-babel-evaluate (quote inline-only)), it does not evaluate ind1_t2_hhd_code code block but it exports both the code and the output.
Vikas
[-- Attachment #2: testecm.org --]
[-- Type: application/octet-stream, Size: 2063 bytes --]
#+Title: ECM to decifer problem with eval
#+AUTHOR:
#+LATEX_HEADER: \usepackage{longtable,threeparttable,booktabs}
#+OPTIONS: toc:nil H:2 ^:{}
#+LATEX_CLASS_OPTIONS: [11pt,a4paper]
#+LATEX_HEADER: \linespread{1.5}
#+LATEX_HEADER: \usepackage{tabulary,tcolorbox,xcolor,tabularx,siunitx,booktabs}
#+LATEX_HEADER: \usepackage[margin=1in]{geometry}
#+LATEX_HEADER: \usepackage[section]{placeins}
#+LATEX_HEADER: \usepackage{dblfloatfix}
#+LATEX_HEADER: \usepackage{chngcntr}
#+LATEX_HEADER: \usepackage{multicol,vwcol,lipsum}
#+LATEX_HEADER: \counterwithin{table}{section}
#+PROPERTY: header-args :session nss70 :eval inline-only
#+macro: getcell src_emacs-lisp[:results value raw]{(org-table-get-remote-range "$1" "$2")}
#+macro: roundnum src_emacs-lisp[:results value raw]{(round (string-to-number (org-table-get-remote-range "$1" "$2")))}
* Overall trends
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel arcu vitae velit finibus dictum. Aliquam blandit maximus ex, eget bibendum lectus sodales nec. Mauris vitae arcu cursus velit aliquam luctus. Vivamus sed dui feugiat, mattis libero at, vulputate eros. Duis eu velit mi. Sed sit amet scelerisque erat. Aliquam nulla metus, laoreet a metus vel, fermentum tempus odio. Phasellus sagittis vulputate est, in bibendum felis lacinia interdum. Aliquam dictum mauris ut commodo elementum. Maecenas scelerisque, lectus ut sagittis gravida, elit enim rutrum felis, eget cursus mi quam eget odio. Aliquam congue neque non arcu aliquam semper. Nunc eu congue lorem. Praesent dolor risus, porta convallis tempus et, mattis eget nunc {{{getcell(ind1_t2_hhd,@3$2)}}} per cent in 2002 to {{{get
cell(ind1_t2_hhd,@4$2)}}} per cent in 2012.
#+NAME: ind1_t2_hhd_code
#+BEGIN_SRC R :results value :exports results :colnames yes :hline yes
data.frame(a=c(1:4),b=c(5:8))
#+END_SRC
#+NAME: ind1_t2_hhd
#+CAPTION: Caption of my table
#+attr_latex: :environment tabulary :width \columnwidth :align lRRR :booktabs t
#+RESULTS: ind1_t2_hhd_code
| a | b |
|---+---|
| 1 | 5 |
| 2 | 6 |
| 3 | 7 |
| 4 | 8 |
[-- Attachment #3: Type: text/plain, Size: 2 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-19 20:36 ` Vikas Rawal
@ 2017-08-19 22:10 ` Berry, Charles
2017-08-20 1:10 ` Vikas Rawal
0 siblings, 1 reply; 13+ messages in thread
From: Berry, Charles @ 2017-08-19 22:10 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list, Nicolas Goaziou
> On Aug 19, 2017, at 1:36 PM, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>
>
>> On 20-Aug-2017, at 12:57 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>>
>> Hello,
>>
>> Vikas Rawal <vikaslists@agrarianresearch.org> writes:
>>
>>> My org-version (latest on org ELPA) is: Org mode version 9.0.9 (9.0.9-82-gb862c2-elpa @ /Users/vikas/.emacs.d/elpa/org-20170814/)
>>>
>>> The following is not working:
>>>
>>> #+PROPERTY: header-args :eval inline-only
>>>
>>> ":eval never-export” works; but ":eval inline-only" does not.
>>
>> What is "not working”?
>
> ":eval inline-only" has no effect. It still tries to evaluate all code blocks.
>
>
>>> I can deal with this by globally changing the option using:
>>>
>>> (org-export-babel-evaluate (quote inline-only))
>>>
>>> But this creates another problem. After this, org does not respect “:exports results” and exports both the code and results.
>>
>> Could you provide an ECM?
>
> Please see the attached file.
Which contains:
#+PROPERTY: header-args :session nss70 :eval inline-only
#+macro: getcell src_emacs-lisp[:results value raw]{(org-table-get-remote-range "$1" "$2")}
#+macro: roundnum src_emacs-lisp[:results value raw]{(round (string-to-number (org-table-get-remote-range "$1" "$2")))}
>
> When I export this, it still tries to evaluate the code block ind1_t2_hhd_code. If I use (org-export-babel-evaluate (quote inline-only)), it does not evaluate ind1_t2_hhd_code code block but it exports both the code and the output.
>
The first problem is that you have babel code *inside* a macro. Since macros are run after babel executes, nothing will happen.
Next, there is no `:eval inline-only'. That seem to work only because only the negative cases are checked. i.e. it is the same as `:eval yes' or even `:eval yes-please-and-thank-you'.
Instead of a macro containing babel, you can use `call_whatnot(a,b)' statements for inline execution, where a src block named `whatnot' handles the desired computations. You can execute these in advance of exporting and specify `:eval never-export'.
HTH,
Chuck
p.s. I did not see a bug.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-19 22:10 ` Berry, Charles
@ 2017-08-20 1:10 ` Vikas Rawal
2017-08-20 2:07 ` Berry, Charles
0 siblings, 1 reply; 13+ messages in thread
From: Vikas Rawal @ 2017-08-20 1:10 UTC (permalink / raw)
To: Berry, Charles; +Cc: org-mode mailing list, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]
>
>
> The first problem is that you have babel code *inside* a macro. Since macros are run after babel executes, nothing will happen.
From the manual: "Org expands macros at the very beginning of the export process.”
These macros run fine if I allow code evaluation. Macro replacement happens first, and then the code evaluation. That is not the problem.
>
> Next, there is no `:eval inline-only'. That seem to work only because only the negative cases are checked. i.e. it is the same as `:eval yes' or even `:eval yes-please-and-thank-you’.
Again, from the manual:
"To evaluate just the inline code blocks, set org-export-babel-evaluate to inline-only. Isolating the option to allow inline evaluations separate from ‘src’ code block evaluations during exports is not for security but for avoiding any delays due to recalculations, such as calls to a remote database.”
With current org, I get this behaviour only if I globally set the option. But that somehow disables ":results”.
With older org, everything works as it should.
Vikas
[-- Attachment #2: Type: text/html, Size: 4039 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 1:10 ` Vikas Rawal
@ 2017-08-20 2:07 ` Berry, Charles
2017-08-20 2:24 ` Vikas Rawal
0 siblings, 1 reply; 13+ messages in thread
From: Berry, Charles @ 2017-08-20 2:07 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list, Nicolas Goaziou
> On Aug 19, 2017, at 6:10 PM, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>
>>
>>
>> The first problem is that you have babel code *inside* a macro. Since macros are run after babel executes, nothing will happen.
>
> From the manual: "Org expands macros at the very beginning of the export process.”
>
> These macros run fine if I allow code evaluation. Macro replacement happens first, and then the code evaluation. That is not the problem.
You are correct. Sorry.
>
>>
>> Next, there is no `:eval inline-only'. That seem to work only because only the negative cases are checked. i.e. it is the same as `:eval yes' or even `:eval yes-please-and-thank-you’.
>
> Again, from the manual:
>
> "To evaluate just the inline code blocks, set org-export-babel-evaluate to inline-only. Isolating the option to allow inline evaluations separate from ‘src’ code block evaluations during exports is not for security but for avoiding any delays due to recalculations, such as calls to a remote database.”
>
There is a bug in the documentation -- `org-export-babel-evaluate' is obsolete. It should say `org-export-use-babel'.
But that part of the manual is irrelevant to what the `:eval' header does. There is no `inline-only' value in either the documentation or in the lisp code. So, `inline-only' acts like `yes' for the reason I stated earlier.
> With current org, I get this behaviour only if I globally set the option. But that somehow disables ":results”.
>
Right. `:results' is a babel header. When babel is off, the babel headers are not acted upon.
Setting `org-export-use-babel' to `nil' or `inline-only' turns off babel for src blocks.
> With older org, everything works as it should.
Older than this:
---
commit ec615b192d703a0201ceefd46897e4636ff00a38
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date: Thu Apr 28 17:25:31 2016 +0200
Fix `org-export-babel-evaluate' handling
---
The behavior was purposely changed. With `inline-only' none of the babel operations will be executed for src blocks -- i.e. the src blocks and existing results (if any) will be exported as is.
Users should avoid touching `org-export-use-babel' for almost all purposes. It does not do the equivalent of setting `:eval' globally.
Chuck
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 2:07 ` Berry, Charles
@ 2017-08-20 2:24 ` Vikas Rawal
2017-08-20 2:43 ` Berry, Charles
0 siblings, 1 reply; 13+ messages in thread
From: Vikas Rawal @ 2017-08-20 2:24 UTC (permalink / raw)
To: Berry, Charles; +Cc: org-mode mailing list, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
>
> There is a bug in the documentation -- `org-export-babel-evaluate' is obsolete. It should say `org-export-use-babel’.
I don’t see org-export-use-babel in available options. I cannot customise it.
'(org-export-use-babel (quote inline-only))
Seems to have no effect. Is that so because, as you say later, users are not supposed to touch this option?
> But that part of the manual is irrelevant to what the `:eval' header does. There is no `inline-only' value in either the documentation or in the lisp code. So, `inline-only' acts like `yes' for the reason I stated earlier.
>
>
>> With current org, I get this behaviour only if I globally set the option. But that somehow disables ":results”.
>>
>
> Right. `:results' is a babel header. When babel is off, the babel headers are not acted upon.
>
> Setting `org-export-use-babel' to `nil' or `inline-only' turns off babel for src blocks.
>
>
> The behavior was purposely changed. With `inline-only' none of the babel operations will be executed for src blocks -- i.e. the src blocks and existing results (if any) will be exported as is.
>
> Users should avoid touching `org-export-use-babel' for almost all purposes. It does not do the equivalent of setting `:eval' globally.
>
I just saw this thread: https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00443.html <https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00443.html>
I certainly feel that the current behaviour is a regression. The user should have the possibility of controlling globally or buffer-wide whether the source codes are evaluated at the time of export or not. org-export-use-babel does not do that. It turns off babel completely, exporting codes and existing results as is.
This is clearly a regression as far as my use case is concerned.
Vikas
[-- Attachment #2: Type: text/html, Size: 2970 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 2:24 ` Vikas Rawal
@ 2017-08-20 2:43 ` Berry, Charles
2017-08-20 3:26 ` Vikas Rawal
0 siblings, 1 reply; 13+ messages in thread
From: Berry, Charles @ 2017-08-20 2:43 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list, Nicolas Goaziou
> On Aug 19, 2017, at 7:24 PM, Vikas Rawal <vikaslists@agrarianresearch.org> wrote:
>
>
>>
>> There is a bug in the documentation -- `org-export-babel-evaluate' is obsolete. It should say `org-export-use-babel’.
>
> I don’t see org-export-use-babel in available options. I cannot customise it.
>
> '(org-export-use-babel (quote inline-only))
>
> Seems to have no effect. Is that so because, as you say later, users are not supposed to touch this option?
No. You must have an older version of org than
commit 3b5ce449c4b16291ad56e23d5be1e480e57d906f
Author: Charles Berry <ccberry@ucsd.edu>
Date: Sat Nov 12 18:54:20 2016 -0800
Replace `org-export-babel-evaluate' with `org-export-use-babel'
Did you try `C-h v org-export-use-babel RET', click `customize', etc?
>
>> But that part of the manual is irrelevant to what the `:eval' header does. There is no `inline-only' value in either the documentation or in the lisp code. So, `inline-only' acts like `yes' for the reason I stated earlier.
>>
>>
>>> With current org, I get this behaviour only if I globally set the option. But that somehow disables ":results”.
>>>
>>
>> Right. `:results' is a babel header. When babel is off, the babel headers are not acted upon.
>>
>> Setting `org-export-use-babel' to `nil' or `inline-only' turns off babel for src blocks.
>>
>>
>> The behavior was purposely changed. With `inline-only' none of the babel operations will be executed for src blocks -- i.e. the src blocks and existing results (if any) will be exported as is.
>>
>> Users should avoid touching `org-export-use-babel' for almost all purposes. It does not do the equivalent of setting `:eval' globally.
>>
>
>
> I just saw this thread: https://lists.gnu.org/archive/html/emacs-orgmode/2017-02/msg00443.html
>
> I certainly feel that the current behaviour is a regression. The user should have the possibility of controlling globally or buffer-wide whether the source codes are evaluated at the time of export or not. org-export-use-babel does not do that. It turns off babel completely, exporting codes and existing results as is.
>
Try
#+PROPERTY: header-args :eval never-export
and don't forget C-c C-c to update when you add this.
> This is clearly a regression as far as my use case is concerned.
>
It seems like `:eval never-export' set globally handles the uses most folks had for the old behavior, and I think a bug was fixed by Nicolas in changing it, so reverting is probably not going to happen.
Chuck
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 2:43 ` Berry, Charles
@ 2017-08-20 3:26 ` Vikas Rawal
2017-08-20 10:21 ` Nicolas Goaziou
0 siblings, 1 reply; 13+ messages in thread
From: Vikas Rawal @ 2017-08-20 3:26 UTC (permalink / raw)
To: Berry, Charles; +Cc: org-mode mailing list, Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]
>>
>> I don’t see org-export-use-babel in available options. I cannot customise it.
>>
>> '(org-export-use-babel (quote inline-only))
>>
>> Seems to have no effect. Is that so because, as you say later, users are not supposed to touch this option?
>
> No. You must have an older version of org than
>
> commit 3b5ce449c4b16291ad56e23d5be1e480e57d906f
> Author: Charles Berry <ccberry@ucsd.edu <mailto:ccberry@ucsd.edu>>
> Date: Sat Nov 12 18:54:20 2016 -0800
>
> Replace `org-export-babel-evaluate' with `org-export-use-babel'
>
> Did you try `C-h v org-export-use-babel RET', click `customize', etc?
I am on the latest version on org mode ELPA. It is dated August 18, 2017, so should include the commit you mention.
> C-h v org-export-use-babel RET’
Does not work (there is no such variable).
> Try
>
> #+PROPERTY: header-args :eval never-export
>
> and don't forget C-c C-c to update when you add this.
But this would prevent exporting all code blocks including inline blocks.
Isn’t it?
There seems no way of separately controlling inline and other blocks.
I guess I have to live with that.
Vikas
[-- Attachment #2: Type: text/html, Size: 11014 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 3:26 ` Vikas Rawal
@ 2017-08-20 10:21 ` Nicolas Goaziou
2017-08-20 12:41 ` Vikas Rawal
2017-08-20 16:51 ` Berry, Charles
0 siblings, 2 replies; 13+ messages in thread
From: Nicolas Goaziou @ 2017-08-20 10:21 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list, Berry, Charles
Hello,
Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> I am on the latest version on org mode ELPA. It is dated August 18,
> 2017, so should include the commit you mention.
`org-export-use-babel' is from "master" branch. ELPA provides "maint".
> But this would prevent exporting all code blocks including inline blocks.
>
> Isn’t it?
>
> There seems no way of separately controlling inline and other blocks.
There is. You put :eval never-export on all src blocks and :eval t on
inline code. Note, however, that inline code might call indirectly src
blocks, so this can lead to odd situations.
What you are missing, probably, is some way to set this globally. Alas,
`org-export-use-babel' or `org-export-babel-evaluate' is not the answer.
As suggested in the thread you mentioned earlier, we might as well get
rid of `org-export-use-babel' altogether. It seems to confuse many users
and isn't very useful.
WDYT?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 10:21 ` Nicolas Goaziou
@ 2017-08-20 12:41 ` Vikas Rawal
2017-08-20 16:51 ` Berry, Charles
1 sibling, 0 replies; 13+ messages in thread
From: Vikas Rawal @ 2017-08-20 12:41 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode mailing list, Berry, Charles
>
>> I am on the latest version on org mode ELPA. It is dated August 18,
>> 2017, so should include the commit you mention.
>
> `org-export-use-babel' is from "master" branch. ELPA provides "maint”.
Got it.
>> But this would prevent exporting all code blocks including inline blocks.
>>
>> Isn’t it?
>>
>> There seems no way of separately controlling inline and other blocks.
>
> There is. You put :eval never-export on all src blocks and :eval t on
> inline code. Note, however, that inline code might call indirectly src
> blocks, so this can lead to odd situations.
>
> What you are missing, probably, is some way to set this globally.
Right.
> Alas,
> `org-export-use-babel' or `org-export-babel-evaluate' is not the answer.
> As suggested in the thread you mentioned earlier, we might as well get
> rid of `org-export-use-babel' altogether. It seems to confuse many users
> and isn't very useful.
>
> WDYT?
>
I see no use for org-export-use-babel. But I can only speak for myself here.
In my own case, the src blocks are all R, and inline code is emacs-lisp. So, I can use "header-args:R :eval never-export” to turn off evaluation of R code at export time.
Vikas
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 10:21 ` Nicolas Goaziou
2017-08-20 12:41 ` Vikas Rawal
@ 2017-08-20 16:51 ` Berry, Charles
2017-08-26 8:34 ` Nicolas Goaziou
1 sibling, 1 reply; 13+ messages in thread
From: Berry, Charles @ 2017-08-20 16:51 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode mailing list, Vikas Rawal
> On Aug 20, 2017, at 3:21 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Vikas Rawal <vikaslists@agrarianresearch.org> writes:
>
>> I am on the latest version on org mode ELPA. It is dated August 18,
>> 2017, so should include the commit you mention.
>
> `org-export-use-babel' is from "master" branch. ELPA provides "maint".
>
>> But this would prevent exporting all code blocks including inline blocks.
>>
>> Isn’t it?
>>
>> There seems no way of separately controlling inline and other blocks.
>
> There is. You put :eval never-export on all src blocks and :eval t on
> inline code. Note, however, that inline code might call indirectly src
> blocks, so this can lead to odd situations.
>
There is also :cache, but it has some gotchas, too.
> What you are missing, probably, is some way to set this globally. Alas,
> `org-export-use-babel' or `org-export-babel-evaluate' is not the answer.
> As suggested in the thread you mentioned earlier, we might as well get
> rid of `org-export-use-babel' altogether. It seems to confuse many users
> and isn't very useful.
>
> WDYT?
Maybe remove the `inline-only' option as a first step.
I have no use for org-export-use-babel, but one thing it does do is prevent processing of headers which could be helpful if tricky header constructions cause export to fail.
Chuck
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: "header-args :eval inline-only" not working
2017-08-20 16:51 ` Berry, Charles
@ 2017-08-26 8:34 ` Nicolas Goaziou
0 siblings, 0 replies; 13+ messages in thread
From: Nicolas Goaziou @ 2017-08-26 8:34 UTC (permalink / raw)
To: Berry, Charles; +Cc: org-mode mailing list, Vikas Rawal
Hello,
"Berry, Charles" <ccberry@ucsd.edu> writes:
> Maybe remove the `inline-only' option as a first step.
>
> I have no use for org-export-use-babel, but one thing it does do is
> prevent processing of headers which could be helpful if tricky header
> constructions cause export to fail.
Fair enough. I removed `inline-only' option in master.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-08-26 8:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-19 16:36 "header-args :eval inline-only" not working Vikas Rawal
2017-08-19 19:27 ` Nicolas Goaziou
2017-08-19 20:36 ` Vikas Rawal
2017-08-19 22:10 ` Berry, Charles
2017-08-20 1:10 ` Vikas Rawal
2017-08-20 2:07 ` Berry, Charles
2017-08-20 2:24 ` Vikas Rawal
2017-08-20 2:43 ` Berry, Charles
2017-08-20 3:26 ` Vikas Rawal
2017-08-20 10:21 ` Nicolas Goaziou
2017-08-20 12:41 ` Vikas Rawal
2017-08-20 16:51 ` Berry, Charles
2017-08-26 8:34 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).