emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] restarting an org-babel session?


From: Thomas S. Dye
Subject: Re: [O] restarting an org-babel session?
Date: Thu, 19 Mar 2015 07:47:39 -1000

Ken Mankoff <address@hidden> writes:

> On 2015-03-19 at 10:26, John Kitchin <address@hidden> wrote:
>> Is it possible to restart an org-babel session from the current point?
>> What I mean is if you have a largish org-file with many session blocks,
>> and you want to go the end and continue it, you need to run each session
>> block before the end to recreate the "session".
>
> I am surprised there is no easy way to have an Org file run every code
> block in order either on command or on export. It seems like this
> would be a key component of reproducible research and literate
> documents.
>
> Maybe there is a way, but it isn't mentioned in the "Evaluating code
> blocks" section of the manual.
>
>   -k.

Would org-babel-execute-buffer work?

,--------------------------------------------------------------------
| org-babel-execute-buffer is an interactive autoloaded compiled Lisp
| function in `ob-core.el'.                                          
|                                                                    
| (org-babel-execute-buffer &optional ARG)                           
|                                                                    
| Execute source code blocks in a buffer.                            
| Call `org-babel-execute-src-block' on every source block in        
| the current buffer.                                                
`--------------------------------------------------------------------

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

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