From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Frankel, Rick (CA-CIB)" Subject: library of babel call blocks not invoked on buffer/subtree execute Date: Fri, 4 Nov 2011 10:32:51 -0400 Message-ID: <159C7ECFD895C44DB55BB7F425001A0B0B08C2@MXMXNY08.MSX.CIB> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1245960904==" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMKpe-00050v-BX for emacs-orgmode@gnu.org; Fri, 04 Nov 2011 10:33:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RMKpP-0008Qc-2M for emacs-orgmode@gnu.org; Fri, 04 Nov 2011 10:33:22 -0400 Received: from smtpas2.ca-cib.com ([194.4.140.151]:62117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMKpO-0008PI-KP for emacs-orgmode@gnu.org; Fri, 04 Nov 2011 10:33:06 -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: emacs-orgmode@gnu.org --===============1245960904== MIME-Version: 1.0 Content-class: urn:content-classes:message Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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. tia, rick --===============1245960904== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This message and any attachments are intended for the sole use of its addre= ssee. If you are not the addressee, please immediately notify the sender and then= destroy the message. As this message and/or any attachments may have been altered without our kn= owledge, its content is not legally binding on Cr=C3=A9dit Agricole Corpora= te and Investment Bank. All rights reserved. = Ce message et ses pi=C3=A8ces jointes sont destin=C3=A9s =C3=A0 l'usage exc= lusif de leur destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm=C3=A9diatement= 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 ins= u, Cr=C3=A9dit Agricole Corporate and Investment Bank ne peut pas =C3=AAtre= engag=C3=A9 par son contenu. Tous droits r=C3=A9serv=C3=A9s. --===============1245960904==--