emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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: Thu, 10 Mar 2016 19:30:00 -0800	[thread overview]
Message-ID: <alpine.OSX.2.20.1603101925350.1254@charles-berrys-macbook.local> (raw)
In-Reply-To: <m2bn6lzxfi.fsf@Sonmi451.home>

On Thu, 10 Mar 2016, Anthony Cowley wrote:

>
> Charles C. Berry writes:
>
>> 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.
[snip]
>>
>>> Is there a way I can disable this argument evaluation?
>>
>> Something like:
>>
>>  	:var a=(and org-export-babel-evaluate (org-sbe "abc"))

[snip]

>
> This works out very well with one minor caveat:
>
> Setting org-export-babel-evaluate to nil means that C-c C-c no longer 
> properly evaluates a block with such a header. This means that exporting 
> must be enabled during development.
>

Maybe you can get what you want by setting `:eval never-exports' for the 
buffer. See

 	(info "(org) exports")

 	(info "(org) Header arguments in Org mode properties")

HTH,

Chuck

      reply	other threads:[~2016-03-11  3:30 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
2016-03-11  0:10   ` Anthony Cowley
2016-03-11  3:30     ` Charles C. Berry [this message]

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.1603101925350.1254@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).