From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Bug: New Exporter macro expansion Date: Tue, 9 Oct 2012 10:53:52 -0400 Message-ID: References: <87txu86lts.fsf@gmail.com> <80r4pcugl2.fsf@somewhere.org> <87mx006j9f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLbEK-0005qL-4S for emacs-orgmode@gnu.org; Tue, 09 Oct 2012 10:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLbEJ-000187-1e for emacs-orgmode@gnu.org; Tue, 09 Oct 2012 10:56:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:38369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLbEI-00017l-Q4 for emacs-orgmode@gnu.org; Tue, 09 Oct 2012 10:56:18 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TLbEL-0000n0-Ni for emacs-orgmode@gnu.org; Tue, 09 Oct 2012 16:56:21 +0200 In-Reply-To: <87mx006j9f.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Sebastien Vauban Hello, On 6 October 2012 05:29, Nicolas Goaziou wrote: > > > Hello, > > "Sebastien Vauban" > writes: > >> Did you go further in the thinking about what the macros will support in the >> future? Such as: multiline macros, recursive macros, Babel blocks, >> etc. > > Macro expansion is already recursive. > > I think multiline macros are not needed, as they would be redundant with > Babel. Despite what is written (for now) in the documentation, macros > should be used for simple replacements, and Babel machinery for > everything else. > > Though, you can have a macro expand to a one-line Babel call if you want > to. > Thank you for the fix. I do however have one other issue that I seem to recall working in the previous exporter. If I use #+INCLUDE: "./macros.org" to store a list of common macros for several files they will not appear in the exported document. Is this intended? > > Regards, > > -- > Nicolas Goaziou > > Regards, -- Jon