From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Macro expansion in new exporter Date: Fri, 15 Feb 2013 16:26:29 -0500 Message-ID: <7834.1360963589@alphaville> References: <87r4khia0n.fsf@lapcat.tftorrey.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6Snl-00019R-PC for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:26:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6Snk-000129-FY for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:26:37 -0500 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:43343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6Snk-00010K-B6 for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:26:36 -0500 In-Reply-To: Message from tftorrey@tftorrey.com (T.F. Torrey) of "Fri, 15 Feb 2013 13:42:48 MST." <87r4khia0n.fsf@lapcat.tftorrey.com> 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: "T.F. Torrey" Cc: emacs-orgmode@gnu.org, Nicolas Goaziou T.F. Torrey wrote: > ... > This almost works, I think ... > > #+name: snippet-awesome > #+begin_src org :exports results :results raw > Snippet of awesome text that changes sometimes. > #+end_src > > #+HTML:

> #+CALL: snippet-awesome :results raw > #+HTML:

> > ... except that it doesn't actually export anything, and changing > :exports to none doesn't help. And neither does removing the :results > raw from the call. > > If it did work, it would be closer to what I had. Not perfect, but > closer. > The way I read the doc, you need to say #+CALL: snippet-awesome[:results raw]() Nick