Re: [O] org-babel order of evaluation

2012-01-23 Thread Eric Schulte
Leo Alekseyev writes: > On Thu, Jan 12, 2012 at 7:52 PM, Rick Frankel wrote: >> On Thu, Jan 12, 2012 at 06:07:41PM -0700, Eric Schulte wrote: >>> Rick Frankel writes: >>> >>> Turns out it was not that difficult to change this behavior.  You and >>> Leo are both correct that in-buffer-order eval

Re: [O] org-babel order of evaluation

2012-01-20 Thread Leo Alekseyev
On Thu, Jan 12, 2012 at 7:52 PM, Rick Frankel wrote: > On Thu, Jan 12, 2012 at 06:07:41PM -0700, Eric Schulte wrote: >> Rick Frankel writes: >> >> Turns out it was not that difficult to change this behavior.  You and >> Leo are both correct that in-buffer-order evaluation is more natural and >> e

Re: [O] org-babel order of evaluation

2012-01-12 Thread Rick Frankel
On Thu, Jan 12, 2012 at 06:07:41PM -0700, Eric Schulte wrote: > Rick Frankel writes: > > Turns out it was not that difficult to change this behavior. You and > Leo are both correct that in-buffer-order evaluation is more natural and > expected than the previous behavior. I've just pushed up a f

Re: [O] org-babel order of evaluation

2012-01-12 Thread Eric Schulte
Rick Frankel writes: > On Thu, Jan 12, 2012 at 04:35:31PM -0600, Leo Alekseyev wrote: >> >> Therefore, when executing an entire buffer, there is no way to have >> >> the execution of a call block dependent on the prior execution of a >> >> source block. >> >> >> > >> > It would be better to make

Re: [O] org-babel order of evaluation

2012-01-12 Thread Rick Frankel
On Thu, Jan 12, 2012 at 04:35:31PM -0600, Leo Alekseyev wrote: > >> Therefore, when executing an entire buffer, there is no way to have > >> the execution of a call block dependent on the prior execution of a > >> source block. > >> > > > > It would be better to make the dependency explicit by pass

Re: [O] org-babel order of evaluation

2012-01-12 Thread Leo Alekseyev
>> Therefore, when executing an entire buffer, there is no way to have >> the execution of a call block dependent on the prior execution of a >> source block. >> > > It would be better to make the dependency explicit by passing the > results of the call line as a (potentially unused) variable to th

Re: [O] org-babel order of evaluation

2012-01-12 Thread Eric Schulte
Rick Frankel writes: > There is a problem with the order of execution of interspersed source > and call blocks will not be executed in order because of the way > org-babel-execute-buffer is written (first all the source blocks, then > all the call blocks). > > Therefore, when executing an entire

[O] org-babel order of evaluation

2012-01-11 Thread Rick Frankel
There is a problem with the order of execution of interspersed source and call blocks will not be executed in order because of the way org-babel-execute-buffer is written (first all the source blocks, then all the call blocks). Therefore, when executing an entire buffer, there is no way to have t