From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benny Simonsen Subject: Re: Macro expansion in included files Date: Tue, 30 Aug 2011 19:22:20 +0200 Message-ID: References: <87ei2bxoxs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd181b40bc60904abbc415d Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyS13-0001Z9-Nn for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 13:22:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyS10-0006KW-1g for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 13:22:25 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:36506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyS0z-0006KJ-TJ for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 13:22:22 -0400 Received: by pzk36 with SMTP id 36so12434302pzk.17 for ; Tue, 30 Aug 2011 10:22:20 -0700 (PDT) In-Reply-To: <87ei2bxoxs.fsf@gnu.org> 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: Bastien Cc: emacs-orgmode@gnu.org --000e0cd181b40bc60904abbc415d Content-Type: text/plain; charset=ISO-8859-1 Hi Now I have updated to head - It works, but I was a bit confused that the Mac macro didn't expand ... forgot to read my old post :) > BUT I have an (theoretical) issue: macros defined in included files > (In this case the macro Mac that is defined in sub.org don't work in > sub.org. ... This is not the way I normally work, I have a file > containing my macros (loaded via SETUPFILE). Sorry for the late response. Bastian: Thank you for apllying the patch. Cheers, Benny 2011/6/30 Bastien > Hi Benny, > > Benny Simonsen writes: > > > I have a patch that will expand macros in included files. > > Inclusion is performed before macro expansion > > Thanks for this patch, it looks good to me. > > Can someone test it and report any problems? > > Thanks! > > -- > Bastien > --000e0cd181b40bc60904abbc415d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

Now I have updated to head - It works, but I was a bit confused t= hat the Mac macro didn't expand ... forgot to read my old post :)
> BUT I have an (theoretical) issue: macros = defined in included files
> (In this case the macro Mac that is defined in sub.org don't work in
>=20 sub.org. ... This is not = the way I normally work, I have a file
> containing my macros (loaded via SETUPFILE).=

Sorry for the late response.

Bastian:
Thank you for apllying = the patch.

Cheers,
Benny

2011/6= /30 Bastien <bzg@alt= ern.org>
Hi Benny,

Benny Simonsen <benny@slbs.dk> w= rites:

> I have a patch that will expand macros in included files.
> Inclusion is performed before macro expansion

Thanks for this patch, it looks good to me.

Can someone test it and report any problems?

Thanks!

--
=A0Bastien

--000e0cd181b40bc60904abbc415d--