* :exports ignored when org-export-babel-evaluate is nil
@ 2016-07-01 14:57 Christian Heinrich
2016-07-03 16:54 ` Charles C. Berry
0 siblings, 1 reply; 2+ messages in thread
From: Christian Heinrich @ 2016-07-01 14:57 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
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?
On a side note: This is also true for inline source blocks. I couldn't
really find anything in etc/ORG-NEWS about this, but I might just not
look in the right place.
I think that I read somewhere that inline source blocks can now export
the code as well. This doesn't work for me, too.
Thanks
Christian
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: :exports ignored when org-export-babel-evaluate is nil
2016-07-01 14:57 :exports ignored when org-export-babel-evaluate is nil Christian Heinrich
@ 2016-07-03 16:54 ` Charles C. Berry
0 siblings, 0 replies; 2+ messages in thread
From: Charles C. Berry @ 2016-07-03 16:54 UTC (permalink / raw)
To: Christian Heinrich; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-03 16:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 14:57 :exports ignored when org-export-babel-evaluate is nil Christian Heinrich
2016-07-03 16:54 ` Charles C. Berry
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).