From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benny Simonsen Subject: Re: Macro expansion in included files Date: Thu, 3 Mar 2011 12:12:40 +0100 Message-ID: References: <80sjv4zi0q.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50393 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pv6SZ-0006rq-My for emacs-orgmode@gnu.org; Thu, 03 Mar 2011 06:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pv6SY-0000Hz-9I for emacs-orgmode@gnu.org; Thu, 03 Mar 2011 06:12:43 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:48674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pv6SY-0000Hm-71 for emacs-orgmode@gnu.org; Thu, 03 Mar 2011 06:12:42 -0500 Received: by vws13 with SMTP id 13so1048362vws.0 for ; Thu, 03 Mar 2011 03:12:41 -0800 (PST) In-Reply-To: <80sjv4zi0q.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 2011/3/3 S=E9bastien Vauban : > Hi Benny, > > Benny Simonsen wrote: >> The result is {{{MacM(Main)}}} is expanded as expected but the >> {{{Mac*(Sub)}}} isn't expanded. > > What's Mac*? > > In your example, you just have MacM and Mac... MacM is the macro defined in main.org: #+MACRO: MacM @$1@ and Mac is a similar macro in sub.org - just to see if it gives any difference in sub.org about the macro is defined in the same file or in another file. The content of the two files should be visible in my original post(s). If not let me hear. - sorry I posted twice, but I couldn't see the fist message that I have sent because of the filtering on gmail. Best regards, Benny -- Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode