Hi Eric, Thanks for catching this issue. It turns out this was a result of adding lists as supported output types, the code block thinks that the enclosing list is the results list, and deletes it before inserting new results.
Luckily this was a quick 2-character change, which has been committed. Cheers -- Eric Eric S Fraga <e.fr...@ucl.ac.uk> writes: > Hello, > > please see attached file for a simple example of a bug in babel: if you > execute the code block, the results section overwrites the text that > follows the code block. > > If you insert an extra blank line between the end of the code block and > the text that follows (before executing the block for the first time), > the results will *not* overwrite the text *but* if you then execute the > block again, the text will be overwritten. > > My feeling is that there's some interplay between lists (I use the 'both > org-list-ending-method) and babel. I've no idea otherwise what is > happening unfortunately. > > I can send my full configuration if need be but always prefer not to as > I have to spend time obfuscating a number of things... > > Thanks, > eric > > # -*- coding: utf-8; -*- > #+TITLE: examplebug.org > #+AUTHOR: Eric S Fraga > #+EMAIL: e.fr...@ucl.ac.uk > > * babel results overwrite following text > > - start an item so that following is indented: > > #+begin_src octave :var x=10 > 3*x+5 > #+end_src > > This is some text that follows the code. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode