From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: "Berry, Charles" <ccberry@ucsd.edu>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>,
Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: "header-args :eval inline-only" not working
Date: Sun, 20 Aug 2017 06:40:48 +0530 [thread overview]
Message-ID: <40F87DC3-9AF2-43D4-9E9D-11826219EA79@agrarianresearch.org> (raw)
In-Reply-To: <A7EF0C13-A13B-405B-A87D-24D572C5391D@ucsd.edu>
[-- 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 --]
next prev parent reply other threads:[~2017-08-20 1:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40F87DC3-9AF2-43D4-9E9D-11826219EA79@agrarianresearch.org \
--to=vikaslists@agrarianresearch.org \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.