emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <istazahn@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Source block processing changes
Date: Tue, 6 Nov 2012 13:30:02 -0500	[thread overview]
Message-ID: <CA+vqiLE8V_upzBwpaMDn6NgM1io+FESHFzG4HaWXsYdLKqd2xw@mail.gmail.com> (raw)
In-Reply-To: <CA+vqiLH-ApkgR7-J78kdvpHWMR6=nCyKxzfzOaONpQvjYjCRpg@mail.gmail.com>

On Tue, Nov 6, 2012 at 12:48 PM, Ista Zahn <istazahn@gmail.com> wrote:
> On Tue, Nov 6, 2012 at 8:22 AM, Eric Schulte <schulte.eric@gmail.com> wrote:
>> Ista Zahn <istazahn@gmail.com> writes:
>
>>> 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).
>
> I'm still getting escaped results with ':results drawer', unless I
> generate a headline, which Nicolas tells me is illegal. Can you take
> another look at this?

Clarification: ':results drawer' exports correctly using the new
exporter (accessed through M-x org-export-dispatch). However, when
exporting using the old exporter (C-c-e) the results drawer is escaped
so that it is formatted as an example or source block. For example a
buffer with this content


#+name: setup
#+begin_src emacs-lisp :results drawer :exports both
  (message "hello world")
#+end_src

#+RESULTS: setup
:RESULTS:
hello world
:END:


exported to html with 'C-c-e h' gives me 'hello world' in a box with
boarders and a gray rectangle. Exporting to html with 'M-x
org-export-dispatch h h' gives me "hello world" as regular text.

I guess this is the push I need to start using the new exporter!

Best,
Ista

>
> Thanks!
> Ista
>
>>
>> Best,
>>
>> --
>> Eric Schulte
>> http://cs.unm.edu/~eschulte

      reply	other threads:[~2012-11-06 18:30 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
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 [this message]

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=CA+vqiLE8V_upzBwpaMDn6NgM1io+FESHFzG4HaWXsYdLKqd2xw@mail.gmail.com \
    --to=istazahn@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@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).