From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Does org export have something like Lisp quasiquote and unquote? Date: Thu, 20 Feb 2014 13:13:51 -0500 Message-ID: <87zjll4ppc.fsf@gmail.com> References: <87eh2zf1y0.fsf@gmail.com> <877g8p689i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGY9z-0006Jq-0j for emacs-orgmode@gnu.org; Thu, 20 Feb 2014 13:15:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGY9t-0000zz-Kz for emacs-orgmode@gnu.org; Thu, 20 Feb 2014 13:15:46 -0500 Received: from mail-yh0-x229.google.com ([2607:f8b0:4002:c01::229]:51648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGY9t-0000zr-Ep for emacs-orgmode@gnu.org; Thu, 20 Feb 2014 13:15:41 -0500 Received: by mail-yh0-f41.google.com with SMTP id f73so1101283yha.0 for ; Thu, 20 Feb 2014 10:15:40 -0800 (PST) In-Reply-To: (Oleh's message of "Thu, 20 Feb 2014 17:56: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: Oleh Cc: org mode Oleh writes: >> >> Think of code blocks as macros with optional interactive expansion. If >> you don't execute the code block you need not ever see the results, >> however with an additional ":exports results" header argument the code >> block will be executed and replaced with it's results on export. >> >> Take a look at the (info "(org) Working With Source Code") portion of >> the Org-mode manual. >> > > Thanks, I'll look there. > Is it possible to have a code block that evals to a string wrapped in > #+BEGIN_HTML, #+END_HTML and be treated as a HTML block on export? > Yes, see (info "(org) results"). > > regards, > Oleh -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D