emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Ista Zahn <istazahn@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Source block processing changes
Date: Tue, 06 Nov 2012 06:22:46 -0700	[thread overview]
Message-ID: <87pq3qlvbt.fsf@gmail.com> (raw)
In-Reply-To: <CA+vqiLFB4m56x1tLJng7PQctgFnSwWXSnkxEjWDbz7uK+sD3PQ@mail.gmail.com> (Ista Zahn's message of "Mon, 5 Nov 2012 11:56:51 -0500")

Ista Zahn <istazahn@gmail.com> 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).

Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  parent reply	other threads:[~2012-11-06 13:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-05 16:56 Source block processing changes Ista Zahn
2012-11-05 17:25 ` Nicolas Goaziou
2012-11-05 18:45   ` Ista Zahn
2012-11-06  9:59     ` Sebastien Vauban
2012-11-06 10:00       ` Nicolas Goaziou
2012-11-06 18:53       ` Achim Gratz
2012-11-06 13:22 ` Eric Schulte [this message]
2012-11-06 14:51   ` Ista Zahn
2012-11-06 16:44     ` Nicolas Goaziou
2012-11-06 17:06       ` Ista Zahn
2012-11-06 17:16         ` Nicolas Goaziou
2012-11-06 17:45           ` Ista Zahn
2012-11-06 17:48   ` Ista Zahn
2012-11-06 18:30     ` Ista Zahn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pq3qlvbt.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=istazahn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).