emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: processing of babel blocks and select_tags
Date: Fri, 18 Feb 2022 15:45:41 +0000	[thread overview]
Message-ID: <87o834rxei.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAJ51EToMeFgOWgunN=DdVpqoXYSiSCuLiyWofPhbPL_==6ZYnw@mail.gmail.com> (John Kitchin's message of "Fri, 18 Feb 2022 10:33:58 -0500")

Hi John,

On Friday, 18 Feb 2022 at 10:33, John Kitchin wrote:
> I guess that is just expanding the src blocks, not actually running
> them. I couldn't find where that happens though, it is early in the
> export process I think.

There are two types of lines that appear often in *Messages*:

: org-babel-exp process julia at position 65992...

: Wrote /tmp/babel-B5awWV/ob-input-0gUtuB

The first is quite straightforward although why any processing is being
done is unclear unless this just means checking the header arguments,
which would make sense.  For the second, although I am not entirely sure
what they refer to (as the tmp files disappear), I have a feeling that
this is where the problem is.  I think this refers to where data tables
are being incorporated into or processed for a src block even when not
necessary.

It's reassuring that it doesn't sound like I am doing anything silly so
I will look into the babel code to see if I can figure out how to get it
to short-circuit sooner...

> Maybe you can just use a preprocessing hook to export to org, which
> should only include the selected sections, then export that to what
> you want.

I guess that is what I was hoping #+SELECT_TAGS would do for me. ;-)

Thank you,
eric

-- 
: Eric S Fraga, with org release_9.5.2-385-g37d8bc in Emacs 29.0.50


  reply	other threads:[~2022-02-18 15:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-18 11:57 processing of babel blocks and select_tags Eric S Fraga
2022-02-18 15:33 ` John Kitchin
2022-02-18 15:45   ` Eric S Fraga [this message]
2022-02-19  7:54 ` Jeremie Juste
2022-02-19 16:47   ` Eric S Fraga
2022-10-23  5:35     ` Ihor Radchenko

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=87o834rxei.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).