From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: library of babel call blocks not invoked on buffer/subtree execute Date: Wed, 09 Nov 2011 14:35:40 -0700 Message-ID: <87y5vpc72r.fsf@gmail.com> References: <159C7ECFD895C44DB55BB7F425001A0B0B08C2@MXMXNY08.MSX.CIB> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROFoD-0004Ld-5h for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 16:35:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROFoB-00046X-Fv for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 16:35:49 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:56772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROFoB-00046T-AH for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 16:35:47 -0500 Received: by ggnh4 with SMTP id h4so2617710ggn.0 for ; Wed, 09 Nov 2011 13:35:46 -0800 (PST) In-Reply-To: <159C7ECFD895C44DB55BB7F425001A0B0B08C2@MXMXNY08.MSX.CIB> (Rick Frankel's message of "Fri, 4 Nov 2011 10:32:51 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Frankel, Rick (CA-CIB)" Cc: emacs-orgmode@gnu.org "Frankel, Rick (CA-CIB)" writes: > There is a bug (?) with #+call block: They are not executed on export/ > invocation of org-babel-execute buffer. > > There are a couple of reasons for this: > > 1. org-babel-src-block-regexp, used in org-babel-map-src-blocks > does not match #+call. > 2. unlike org-babel-execute-maybe, which calls > org-babel-lob-execute-maybe if org-babel-execute-src-block-maybe > returns nil, org-babel-execute-buffer just calls > org-babel-execute-src-block (there is no corresponding > unconditional org-babel-lob-execute-src-block). > > This seems to be an oversight. > Hi Rick, Indeed this is an oversight. I've updated `org-babel-execute-buffer' such that it will now execute call lines as well as code blocks. Thanks for pointing this out -- Eric > > tia, > rick > This message and any attachments are intended for the sole use of its add= ressee. > If you are not the addressee, please immediately notify the sender and th= en destroy the message. > As this message and/or any attachments may have been altered without our = knowledge, its content is not legally binding on Cr=C3=A9dit Agricole Corpo= rate and Investment Bank. > All rights reserved. > >=20=20 > Ce message et ses pi=C3=A8ces jointes sont destin=C3=A9s =C3=A0 l'usage e= xclusif de leur destinataire. > Si vous recevez ce message par erreur, merci d'en aviser imm=C3=A9diateme= nt l'exp=C3=A9diteur et de le d=C3=A9truire ensuite. > Le pr=C3=A9sent message pouvant =C3=AAtre alt=C3=A9r=C3=A9 =C3=A0 notre i= nsu, Cr=C3=A9dit Agricole Corporate and Investment Bank ne peut pas =C3=AAt= re engag=C3=A9 par son contenu. > Tous droits r=C3=A9serv=C3=A9s. --=20 Eric Schulte http://cs.unm.edu/~eschulte/