DONE different properties when exporting than when manually evaluating

  • State "DONE" from "TODO" 2010-09-18 Sat 20:01
  • State "TODO" from "" 2010-08-25 Wed 12:04

Thanks to Tom Short for pointing this out. <gnus:lists.babel#loom.20100819T225748-321@post.gmane.org>

So for example see looks like this is a problem with info collection in the scraps.org buffer. It output different values on export and on manual execution.

Two different issues here,

  1. First, the order of the arguments to header arguments may vary, however `org-babel-sha1-hash' now controls for this as of this commit.
    commit fbb828a1077d4d8879b00beab2923876d93416e7
    Author: Eric Schulte <schulte.eric@gmail.com>
    Date:   Sat Sep 18 14:02:33 2010 -0400
    
        ob: hash construction invariant to order of header arguments
    
  2. Second, when exporting from a narrowed region, any header arguments specified outside of the region are not collected, because only the narrowed region is coppied to the temporary export buffer. This requires some complicated jumping back to the original file to collect header arguments during export, implemented as of this commit
    commit efdf78172d9f7c0070c781d136a9b49a2a56fcc4
    Author: Eric Schulte <schulte.eric@gmail.com>
    Date:   Sat Sep 18 19:01:49 2010 -0600
    
        ob-exp: resolving code block parameters in the original file on export
    
        * lisp/ob-exp.el (org-babel-exp-src-blocks): now switching back to the
          original file before resolving code block parameters to ensure
          headline and buffer wide parameters are taken into consideration
          when only a narrowed portion of the file is exported