[Top][All Lists]

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

Re: [O] [PATCH] `org-macro--collect-macros' can collect macro definition

From: Nicolas Goaziou
Subject: Re: [O] [PATCH] `org-macro--collect-macros' can collect macro definitions from include files
Date: Wed, 05 Feb 2014 17:27:38 +0100


Bastien <address@hidden> writes:

> "Fabrice Niessen" <fni-news-TA4HMoP+1wHrZ44/address@hidden>
> writes:
>> As the DOCSTRING of the function `org-macro--collect-macros' tells it,
>> it "collects macro definitions in current buffer and setup files", not
>> from INCLUDE files.
> Then your patch should change the docstring too.
> I think we want to collect macros from setupfile only,
> that's one of the differences between INCLUDE and SETUPFILE.

I agree.

Not all "Include" files are Org files. Moreover, "INCLUDE" keywords are
expanded before initializing macro templates during export, so "MACRO"
keywords should be read when appropriate.


Nicolas Goaziou

reply via email to

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