From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+INCLUDE: file in code block results does not work? Date: Wed, 26 Mar 2014 10:42:03 +0100 Message-ID: <87siq5uwic.fsf@gmail.com> References: <87wqfhuwtp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSkLA-0004wC-4d for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 05:41:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSkL1-00006n-Mu for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 05:41:44 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:45048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSkL1-00006B-57 for emacs-orgmode@gnu.org; Wed, 26 Mar 2014 05:41:35 -0400 Received: by mail-wi0-f180.google.com with SMTP id hr14so1643939wib.1 for ; Wed, 26 Mar 2014 02:41:34 -0700 (PDT) In-Reply-To: <87wqfhuwtp.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 26 Mar 2014 10:35:14 +0100") 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: KDr2 Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > You can use a macro here: > > #+MACRO: inc-file #+INCLUDE: /path/to-include-dir/$1 > > {{{inc-file(a.org)}}} Err, no. Macros are also expanded after INCLUDE keywords. The only code executed before these are handled is `org-export-before-processing-hook'.