emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bug with :wrap when exporting


From: Alan Schmitt
Subject: [O] bug with :wrap when exporting
Date: Wed, 04 Dec 2013 13:42:19 +0100
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1

Hello,

I think I have found a bug with ":wrap" when exporting a block. Consider
the following org file:

--8<---------------cut here---------------start------------->8---
#+name: mywrap
#+BEGIN_SRC sh :exports none :results raw
echo "(+ 1 2)"
#+END_SRC

Exporting with the result absent:

#+name: testmywrap
#+call: mywrap() :wrap src emacs-lisp

#+results: testmywrap

Exporting with the result present:

#+name: testmywrap2
#+call: mywrap() :wrap src emacs-lisp

#+results: testmywrap2
#+BEGIN_src emacs-lisp
(+ 1 2)
#+END_src
--8<---------------cut here---------------end--------------->8---

If you export it, you'll see that the results for the second call are
duplicated. Note that this only happens during export: evaluating the
second call to mywrap does not duplicate the results below.

Alan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]