Re: [O] eval source blocks in a subtree when opening file

2015-08-07 Thread Cook, Malcolm
> > On Tue, 4 Aug 2015, Tamas Papp wrote: > > > >> I would like to do the following: whenever I open the file in Emacs, > >> I would like to eval all the source blocks under the heading Setup. > >> > >> I have found org-babel-execute-subtree, but I cannot figure out how > >> to call it on the

Re: [O] eval source blocks in a subtree when opening file

2015-08-07 Thread Tamas Papp
On Tue, Aug 04 2015, Charles C. Berry wrote: > On Tue, 4 Aug 2015, Tamas Papp wrote: > >> I would like to do the following: whenever I open the file in Emacs, I would >> like to eval all the source blocks under the heading Setup. >> >> I have found org-babel-execute-subtree, but I cannot figure

Re: [O] eval source blocks in a subtree when opening file

2015-08-04 Thread Charles C. Berry
On Tue, 4 Aug 2015, Tamas Papp wrote: Hi, [mock file deleted] I would like to do the following: whenever I open the file in Emacs, I would like to eval all the source blocks under the heading Setup. I have found org-babel-execute-subtree, but I cannot figure out how to call it on the sub

[O] eval source blocks in a subtree when opening file

2015-08-04 Thread Tamas Papp
Hi, I have a file that looks like this (stylized): --8<---cut here---start->8--- * Setup :noexport: #+COMMENT: some code here I want to run every time I open the file in SRC blocks * Experiment 1 #+COMMENT: code I run when necessary, not every time