From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: [babel] Evaluating all source blocks in a document? Date: Wed, 30 Jun 2010 08:33:10 -0500 Message-ID: <20100630133310.GG25163@thinkpad.adamsinfoserv.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=36811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTxPp-0001bh-9W for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 09:33:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTxPm-0005Jo-Tw for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 09:33:24 -0400 Received: from squirtle.drak.net ([72.52.144.201]:43281) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTxPm-0005JZ-Po for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 09:33:22 -0400 Received: from m3c2436d0.tmodns.net ([208.54.36.60] helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1OTxPf-0004zi-BN for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 08:33:15 -0500 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Wed, Jun 30, 2010 at 01:35:04PM +0200, Rainer M Krug wrote: > Hi > > I use Org-babel for literate programming in R, but the tangling takes quite > long. Therefore my question: as it is possible to evaluate a single code > block, is it possible to evaluate ALL code blocks i a document? that would > make debugging much easier. M-x org-babel-execute-buffer OTOH this may not make it easier to debug, the babel error window doesn't list line numbers or blocks where the error occurred. Perhaps that should be a feature request to log what src block or org file line number the errors occurred in. > Also: is it possible, to get some kind of automatic headings for the tangled > code blocks? That would make it easier to identify in which code block the > source code in the tangled file comes from. I haven't tried tangling yet, is there a good tutorial somewhere? Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3