From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Source block processing changes Date: Tue, 6 Nov 2012 09:51:06 -0500 Message-ID: References: <87pq3qlvbt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVkV7-0000Jx-By for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 09:51:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVkUx-0001nc-Hd for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 09:51:37 -0500 Received: from mail-gg0-f169.google.com ([209.85.161.169]:40110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVkUx-0001nW-Bs for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 09:51:27 -0500 Received: by mail-gg0-f169.google.com with SMTP id i1so83394ggm.0 for ; Tue, 06 Nov 2012 06:51:26 -0800 (PST) In-Reply-To: <87pq3qlvbt.fsf@gmail.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: Eric Schulte Cc: emacs-orgmode Mailinglist On Tue, Nov 6, 2012 at 8:22 AM, Eric Schulte wrote: > Ista Zahn writes: > >> Hi all, >> >> I've been silently suffering since the changes to source block >> processing announced at the end of September[1]. I had been using >> (abusing?) ':results org' to write results that would be processed as >> orgmode syntax and exported to both latex and html. For example, this >> >> #+name: tst >> #+begin_src R :results output org :exports results >> library(ascii) >> cat("* First ten\n") >> print(ascii(head(mtcars)), type="org") >> cat("\n* Last ten\n") >> print(ascii(tail(mtcars)), type="org") >> #+end_src >> >> used to give me heading "First ten" followed by a table nicely >> formatted in html or latex depending on the export target, followed by >> a heading "Last ten", again followed by a nicely formatted table. >> Changing the data or the code in the block would update the contents. >> This was very convenient, and I relied heavily on this to generate >> reports. >> >> Now it seems that this very useful feature no longer exists, and try >> as I might I cannot find a way to duplicate it. Using ':results >> drawer' or ':results org' gives me verbatim export > > This was a bug in ":results drawer", which should *not* escape its > results. I've just pushed up a fix for this so ":results drawer" should > now be a drop-in replacement for your previous use-case of ":results > org" (as was the original intent of this change). Thank you, all is working as desired now! One small niggle: the '::RESULTS:' and ':END:' strings are included in the exported html. Not sure if this is intentional, but it seems to me that they should be removed (or at lease given a class so we can hide them via css) Thanks again! Ista > > Best, > > -- > Eric Schulte > http://cs.unm.edu/~eschulte