emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Ista Zahn <istazahn@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Source block processing changes
Date: Mon, 05 Nov 2012 18:25:00 +0100	[thread overview]
Message-ID: <87mwywaro3.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")

Hello,

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

  reply	other threads:[~2012-11-05 17:29 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 [this message]
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
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=87mwywaro3.fsf@gmail.com \
    --to=n.goaziou@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).