emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Frankel, Rick (CA-CIB)" <rick.frankel@ca-cib.com>
To: emacs-orgmode@gnu.org
Subject: library of babel call blocks not invoked on buffer/subtree execute
Date: Fri, 4 Nov 2011 10:32:51 -0400	[thread overview]
Message-ID: <159C7ECFD895C44DB55BB7F425001A0B0B08C2@MXMXNY08.MSX.CIB> (raw)

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 759 bytes --]

This message and any attachments are intended for the sole use of its addressee.
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 knowledge, its content is not legally binding on Crédit Agricole Corporate and Investment Bank.
All rights reserved.

 
Ce message et ses pièces jointes sont destinés à l'usage exclusif de leur destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite.
Le présent message pouvant être altéré à notre insu, Crédit Agricole Corporate and Investment Bank ne peut pas être engagé par son contenu.
Tous droits réservés.

             reply	other threads:[~2011-11-04 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04 14:32 Frankel, Rick (CA-CIB) [this message]
2011-11-09 21:35 ` library of babel call blocks not invoked on buffer/subtree execute Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=159C7ECFD895C44DB55BB7F425001A0B0B08C2@MXMXNY08.MSX.CIB \
    --to=rick.frankel@ca-cib.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).