emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] [Babel] Do not try to process inline source in macro templ


From: Eric Schulte
Subject: Re: [O] [BUG] [Babel] Do not try to process inline source in macro templates
Date: Mon, 02 Sep 2013 10:35:44 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Nicolas Girard <address@hidden> 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.

Cheers,

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D



reply via email to

[Prev in Thread] Current Thread [Next in Thread]