From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Source block processing changes Date: Mon, 05 Nov 2012 18:25:00 +0100 Message-ID: <87mwywaro3.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVQUB-0002M6-PK for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 12:29:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVQU7-0005aT-KD for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 12:29:19 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:34160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVQU7-0005Ya-BC for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 12:29:15 -0500 Received: by mail-wg0-f49.google.com with SMTP id gg4so2976124wgb.30 for ; Mon, 05 Nov 2012 09:29:14 -0800 (PST) In-Reply-To: (Ista Zahn's message of "Mon, 5 Nov 2012 11:56:51 -0500") 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: Ista Zahn Cc: emacs-orgmode Mailinglist Hello, Ista Zahn writes: > The only way I can get the headlines and tables to be exported > properly is to set ':results raw', but then I get duplicate results > every time I evaluate the R source block. You can use ":cache yes" in order to avoid duplicating results. > Is there any way to produce the old behavior in the current > development version of org? Besides using :results raw? You may also generate a file containing your results and include it in the buffer. > If not, what are the chances of this very useful functionality being > re-implemented? I'd like to avoid re-implementing this hack, if possible. But if it had to be done, I think it would require to treat specially "begin_org" blocks during export by replacing them with their contents just before parsing (i.e. just after included files have been expanded). Hence, #+begin_src org ,* Headline #+end_src would become * Headline just before parser kicks in. But, again, let's see first if no solution can be found without creating yet another special case. Regards, -- Nicolas Goaziou