[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] exporting documents w/ babel results w/o evaluating babel blocks

From: Ista Zahn
Subject: Re: [O] exporting documents w/ babel results w/o evaluating babel blocks
Date: Tue, 24 May 2016 10:32:13 -0400

On Tue, May 24, 2016 at 6:17 AM, Andreas Kiermeier
<address@hidden> wrote:
> I second that.
> I like exporting everything to LaTeX without having to re-run all the code,
> which in many cases can add considerable time.

Which you can still do, I guess by

(setq org-babel-default-header-args
      (cons '(:eval . "never-export")
   (assq-delete-all :noweb org-babel-default-header-args)))

instead of the old way

(setq org-export-babel-evaluate nil)

I'm not saying this is good or right. IMO the old behavior of
org-export-babel-evaluate made sense and was useful; the new behavior
is surprising and I have a hard time seeing how it is useful. One can
argue (as Chuck has) that the new behavior is fine sense we have
another way of achieving the desired results; that may be, but I have
yet to see an explanation of why the new behavior is desirable.

It this change is not going to be reversed than the doc string for
org-export-babel-evaluate needs to be updated, and something should go
in the NEWS file warning people (like me) who have been relying on the
old behavior.


> Cheers,
> Andreas
> On 24 May 2016 at 11:04, Grant Rettke <address@hidden> wrote:
>> On Sun, May 22, 2016 at 4:52 PM, Charles C. Berry <address@hidden>
>> wrote:
>> > TL;DR: Org babel headers give excellent control over what gets run,
>> > when it gets run, and how. Users should use them.
>> Definitely!
>> > Don't reset `org-export-babel-evaluate'.
>> Why not?
>> It can be nice to disable org-export-babel-evaluate by setting it to
>> `nil'.
>> That way you separate your workflow into two distinct steps: one for
>> execution and one for weaving.
>> It would be fun to "see" everyone's Org-Mode workflows; I bet there
>> are a lot of nice approaches.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]