From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: New Exporter macro expansion Date: Sat, 06 Oct 2012 11:29:32 +0200 Message-ID: <87mx006j9f.fsf@gmail.com> References: <87txu86lts.fsf@gmail.com> <80r4pcugl2.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKQlI-0002rp-Eb for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 05:33:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKQlG-0001kQ-QM for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 05:33:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:60829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKQlG-0001k3-Cq for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 05:33:30 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TKQlK-0008DZ-4P for emacs-orgmode@gnu.org; Sat, 06 Oct 2012 11:33:34 +0200 In-Reply-To: <80r4pcugl2.fsf@somewhere.org> (Sebastien Vauban's message of "Sat, 06 Oct 2012 10:53:29 +0200") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org 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. Regards, -- Nicolas Goaziou