From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Macros or properties in source blocks Date: Wed, 12 Aug 2015 15:06:19 +0200 Message-ID: <874mk47j1w.fsf@nicolasgoaziou.fr> References: <86pp2tkm6a.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPViJ-0002vP-C7 for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 09:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPViF-00074k-CC for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 09:05:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:43003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPViF-000741-66 for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 09:04:59 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZPViA-0004KH-Pr for emacs-orgmode@gnu.org; Wed, 12 Aug 2015 15:04:54 +0200 In-Reply-To: <86pp2tkm6a.fsf@example.com> (Sebastien Vauban's message of "Wed, 12 Aug 2015 09:20: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: > Though, I don't understand either why your example did not work, as -- > during the export process -- macros are supposed to be expanded before > Babel code be evaluated. > > There must be some restriction, then, on which part of a document > a macro can reside in. According to the manual These references, called macros, can be inserted anywhere Org markup is recognized: paragraphs, headlines, verse blocks, tables cells and lists. The innards of a source block do not belong to Org. Regards, -- Nicolas Goaziou