From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] ASCII back-end for new export engine Date: Mon, 23 Jan 2012 21:49:19 +0100 Message-ID: <87d3aai1ps.fsf@gmail.com> References: <87pqec4xua.fsf@gmail.com> <87zkdf3fnc.fsf@gmail.com> <87ehuqqj4v.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpQrL-0008Hb-3J for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 15:51:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpQrJ-0005lx-Ew for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 15:51:23 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:35974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpQrI-0005ln-Ts for emacs-orgmode@gnu.org; Mon, 23 Jan 2012 15:51:21 -0500 Received: by wgbds1 with SMTP id ds1so1540453wgb.30 for ; Mon, 23 Jan 2012 12:51:20 -0800 (PST) In-Reply-To: <87ehuqqj4v.fsf@gmx.com> (Eric Schulte's message of "Mon, 23 Jan 2012 13:05:52 -0700") 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: Eric Schulte Cc: Martyn Jago , emacs-orgmode@gnu.org Hello, Eric Schulte writes: >> It's out of exporter's scope. > > I disagree. The current exporter conforms to the value of the :results > header argument (e.g., silent, replace, append, etc...) when executing > code blocks during export. I see no reason why the new exporter should > not as well. The new exporter conforms to the output of `org-export-blocks-preprocess'. It doesn't pay attention to header arguments. > Hmm, in light of this description it seems that the new export /should/ > have the same behavior WRT code block execution as the current > exporter. If not I wonder if a complete minimal example could be > provided. Martyn Jago provided one in this thread. Here it is: --8<---------------cut here---------------start------------->8--- * Test #+begin_src emacs-lisp # :exports both ;; Add two numbers (+ 2 3) #+end_src #+results: : 5 --8<---------------cut here---------------end--------------->8--- Regards, -- Nicolas Goaziou