From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Getzner Subject: [Bug?] Results of code block printed in wrong place Date: Mon, 22 Sep 2014 13:26:04 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW3dR-0006P0-3u for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 09:26:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XW3dJ-0005iB-Jo for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 09:26:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:57139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW3dJ-0005gY-DJ for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 09:26:25 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XW3dB-0001zu-Pa for emacs-orgmode@gnu.org; Mon, 22 Sep 2014 15:26:17 +0200 Received: from glenalbyn.linguistics.ruhr-uni-bochum.de ([134.147.14.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Sep 2014 15:26:17 +0200 Received: from tobias.getzner by glenalbyn.linguistics.ruhr-uni-bochum.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Sep 2014 15:26:17 +0200 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: emacs-orgmode@gnu.org Hello, 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 «C-c C-e», 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 «C-c C-e» (or when doing a manual eval), the results are as expected. When point is after #+END_SRC of heading 2 when issuing the export, I’m also seeing that the results are now suddenly added inline: * heading 2 #+BEGIN_SRC sh :exports results echo quux #+END_SRC=quux = Additionally, the results of the code are not actually exported until I run the export a second time; I’m not sure whether this is the expected behavior. Should the export already take into account any results produced during the export run? Any ideas where to look or what the problem might be? Best, T. Org-mode version 8.2.7c (8.2.7c-71-g60418c-elpa @ /home/tzg/.emacs.d/elpa/ org-20140922/)