From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Anthony Cowley <acowley@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-export-babel-evaluate and header arguments
Date: Wed, 9 Mar 2016 19:25:34 -0800 [thread overview]
Message-ID: <alpine.OSX.2.20.1603091916001.2048@charles-berrys-macbook.local> (raw)
In-Reply-To: <m2fuvzyxe0.fsf@Sonmi451.home>
On Wed, 9 Mar 2016, Anthony Cowley wrote:
>
> If I have org-export-babel-evaluate set to nil, source blocks are not
> evaluated on export. However, if a source block has a :var header
> argument that calls another source block, I am prompted if the callee
> should be evaluated.
>
> Given that the caller is not to be evaluated, I'm not sure I see a
> reason for the :var to be evaluated.
What gives here is that `org-babel-get-src-block-info' needs to develop
all the header arguments regardless of evaluation of the code block, so
:var gets handled.
> Is there a way I can disable this argument evaluation?
Something like:
:var a=(and org-export-babel-evaluate (org-sbe "abc"))
See C-h f org-sbe RET
HTH,
Chuck
next prev parent reply other threads:[~2016-03-10 3:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 0:44 org-export-babel-evaluate and header arguments Anthony Cowley
2016-03-10 3:25 ` Charles C. Berry [this message]
2016-03-11 0:10 ` Anthony Cowley
2016-03-11 3:30 ` Charles C. Berry
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1603091916001.2048@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=acowley@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 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).