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: Carsten Dominik
Subject: Re: [O] [BUG] [Babel] Do not try to process inline source in macro templates
Date: Mon, 2 Sep 2013 18:47:53 +0200

Thank you Eric.

- Carsten

On 2.9.2013, at 18:35, Eric Schulte <address@hidden> wrote:

> 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]