DONE subtree execution can't find blocks in other sub-trees

  • State "DONE" from "TODO" 2010-06-07 Mon 17:39
  • State "TODO" from "" 2009-12-30 Wed 17:05

This is most likely due to the fact that `org-babel-execute-subtree' calls `org-narrow-to-subtree', which narrows the buffer making functions defined in other sub-trees invisible. This is demonstrated by calling `org-babel-execute-subtree' (bound to C-c M-b s) inside of "tree 2" below.

Thanks to Tom Dye for pointing this out.

example

tree 1

a <- 1

tree 2

a <- 1
a + 1
a + 2