emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Christian Heinrich <christian@gladbachcity.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: :exports ignored when org-export-babel-evaluate is nil
Date: Sun, 3 Jul 2016 09:54:21 -0700	[thread overview]
Message-ID: <alpine.OSX.2.20.1607030947160.610@charles-berrys-macbook.local> (raw)
In-Reply-To: <1467385057.1832.31.camel@gladbachcity.de>

On Fri, 1 Jul 2016, Christian Heinrich wrote:

> Hello,
>
> I built org-mode from the master branch. I set org-export-babel-
> evaluate to nil in my init.el as my org-files contain lots of src-
> blocks that take ages to execute.
>
> I realized that since commit ec615b192d703a0201ceefd46897e4636ff00a38,
> the export behavior has changed. Since then, the ":exports" seems to
> get ignored if said variable is set to nil and always exports the code
> as well, even when ":exports" is set to "results". If org-export-babel-
> evaluate is set to true, everything works fine.
>
> Is this a bug or is there a new way to prevent org-mode from executing
> my blocks before the export?
>

Not `a new way', but use `:eval never-export'. Probably you want to set 
this as a buffer-wide property or even system-wide.

See

  (info "(org) eval")

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

  (info "(org) System-wide header arguments")


Chuck

      reply	other threads:[~2016-07-03 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 14:57 :exports ignored when org-export-babel-evaluate is nil Christian Heinrich
2016-07-03 16:54 ` 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.1607030947160.610@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=christian@gladbachcity.de \
    --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).