From: Eric Schulte <schulte.eric@gmail.com>
To: "Frankel, Rick (CA-CIB)" <rick.frankel@ca-cib.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: library of babel call blocks not invoked on buffer/subtree execute
Date: Wed, 09 Nov 2011 14:35:40 -0700 [thread overview]
Message-ID: <87y5vpc72r.fsf@gmail.com> (raw)
In-Reply-To: <159C7ECFD895C44DB55BB7F425001A0B0B08C2@MXMXNY08.MSX.CIB> (Rick Frankel's message of "Fri, 4 Nov 2011 10:32:51 -0400")
"Frankel, Rick (CA-CIB)" <rick.frankel@ca-cib.com> 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 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.
--
Eric Schulte
http://cs.unm.edu/~eschulte/
prev parent reply other threads:[~2011-11-09 21:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 14:32 library of babel call blocks not invoked on buffer/subtree execute Frankel, Rick (CA-CIB)
2011-11-09 21:35 ` Eric Schulte [this message]
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=87y5vpc72r.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rick.frankel@ca-cib.com \
/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).