emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] "header-args :eval inline-only" not working


From: Vikas Rawal
Subject: Re: [O] "header-args :eval inline-only" not working
Date: Sun, 20 Aug 2017 06:40:48 +0530



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


reply via email to

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