From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] [babel] executing code block overwrites subsequent heading Date: Fri, 03 Dec 2010 00:10:37 +0000 Message-ID: <87r5dzpvgi.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=44931 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POJEZ-0001vo-6P for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 19:10:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POJEW-0003by-S8 for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 19:10:43 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:32921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POJEW-0003b5-OB for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 19:10:40 -0500 Received: from [85.210.128.47] (helo=localhost) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1POJES-0002lr-D8 for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 00:10:36 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs Org mode mailing list --=-=-= Content-Type: text/plain Hello, suddenly, there seems to be a rather strange bug in the insertion of babel code block results into the org file. Attached are two files: =examplebug.org= which has a simple octave code block *before* the code block is executed and =examplebugafter.org= which is what the file looks like after executing the code block (C-c C-c). The =#+end_example= line is somehow placed in the middle of the following headline! Very strange. I do not believe I have changed any org or babel specific configurations in a while... org itself is very recent (a couple of minutes ago), with version in my signature. Thanks, eric --=-=-= Content-Type: text/orgmode Content-Disposition: attachment; filename=examplebug.org Content-Description: example before code evaluation # -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: * babel overwriting subsequent heading #+srcname: case1 #+begin_src octave :results output :exports results n = 20 for i=1:n disp([i,i^3]); endfor #+end_src * a following heading --=-=-= Content-Type: text/orgmode Content-Disposition: attachment; filename=examplebugafter.org Content-Description: example after code block evaluation # -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: * babel overwriting subsequent heading #+srcname: case1 #+begin_src octave :results output :exports results n = 20 for i=1:n disp([i,i^3]); endfor #+end_src #+results: case1 #+begin_example n = 20 1 1 2 8 3 27 4 64 5 125 6 216 7 343 8 512 9 729 10 1000 11 1331 12 1728 13 2197 14 2744 15 3375 16 4096 17 4913 18 5832 19 6859 20 8000 * a following h#+end_example eading --=-=-= Content-Type: text/plain -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.164.gcfd7) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=--