emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Nicolas Girard <girard.nicolas@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] [Babel] Do not try to process inline source in macro templates
Date: Mon, 02 Sep 2013 10:35:44 -0600	[thread overview]
Message-ID: <87fvtntc4f.fsf@gmail.com> (raw)
In-Reply-To: <CANMKmef-giq9E7ejeNPkiDJSsaM95nRPuZqhR255MmPk81zJ2Q@mail.gmail.com> (Nicolas Girard's message of "Fri, 23 Aug 2013 09:55:28 +0200")

Nicolas Girard <girard.nicolas@gmail.com> writes:

> When a buffer contains such
>     #+MACRO: m src_emacs-lisp[:results raw]{(do-something "$1")}
> macro template, calling =org-babel-execute-buffer= using =C-c C-v C-b= yields
>     if: No id found: $1
> It seems to me that Babel shouldn't be looking for inline code within
> macro templates.

I've just pushed up a fix for this issue which should now ignore inline
source blocks on lines starting with "#+" during export.  I don't know
if there is a better way than using a regex to detect such non-exporting
lines but this appears to work.


Eric Schulte
PGP: 0x614CA05D

  reply	other threads:[~2013-09-02 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23  7:55 [BUG] [Babel] Do not try to process inline source in macro templates Nicolas Girard
2013-09-02 16:35 ` Eric Schulte [this message]
2013-09-02 16:47   ` Carsten Dominik
2013-09-06 21:57     ` Nicolas Girard
2013-09-08 10:55       ` 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:

  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=87fvtntc4f.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=girard.nicolas@gmail.com \


* 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


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).