From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Bug?] Results of code block printed in wrong place Date: Mon, 22 Sep 2014 17:29:33 +0200 Message-ID: <871tr3n06a.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW5YB-0002Qm-Pc for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 11:29:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XW5Y4-0006ft-J1 for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 11:29:15 -0400 Received: from slow1-d.mail.gandi.net ([217.70.178.86]:44618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW5Y4-0006ez-D3 for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 11:29:08 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id 5E69A4865C5 for ; Mon, 22 Sep 2014 17:28:51 +0200 (CEST) In-Reply-To: (Tobias Getzner's message of "Mon, 22 Sep 2014 13:26:04 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tobias Getzner Cc: emacs-orgmode@gnu.org Hello, Tobias Getzner writes: > I have a strange problem when exporting the following file: > > * heading 1 > #+BEGIN_SRC sh :eval never > echo baz > #+END_SRC > > * heading 2 > #+BEGIN_SRC sh :exports results > echo quux > #+END_SRC > > When I export this document, and point is on heading 1 when issuing the > =C2=ABC-c C-e=C2=BB, the results of the code in heading 2 are added under= the code > block in heading 1 (sic). o_O So I am seeing: > > * heading 1 > #+BEGIN_SRC sh :eval never > echo baz > #+END_SRC > > #+RESULTS: > : quux > > When point is at heading 2 when issuing =C2=ABC-c C-e=C2=BB (or when doin= g a manual > eval), the results are as expected. FWIW, I cannot reproduce it. Regards, --=20 Nicolas Goaziou