From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [BUG] export of org-type results with indented source blocks Date: Tue, 03 Apr 2012 15:02:50 +0200 Message-ID: <87fwclx91h.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF3Of-0006Bi-C3 for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 09:03:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SF3Oa-0007y1-NJ for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 09:03:40 -0400 Received: from plane.gmane.org ([80.91.229.3]:55559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF3Oa-0007xu-H6 for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 09:03:36 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SF3OY-0002du-BC for emacs-orgmode@gnu.org; Tue, 03 Apr 2012 15:03:34 +0200 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Apr 2012 15:03:34 +0200 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Apr 2012 15:03:34 +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 Hi all, There is a bug (visible) in the export of results when 1. the result type is org 2. the source block is indeted In this case the begin_org ... end_org lines do not get stripped from the exported file. Here is an example to reproduce the behaviour. Just export to see the effect. #+BEGIN_SRC latex :exports results :results org Enclosed in non-stripped #+begin_org stuff #+END_SRC #+BEGIN_SRC latex :exports results :results org Correctly exported #+END_SRC On my system (emacs 24 -Q, org-mode 7.8.08) this message gets exported to ASCII as: ,---- | [BUG] export of org-type results with indented source blocks | ============================================================ | | Author: Andreas Leha | Date: 2012-04-03 14:36:39 CEST | | | Hi all, | | There is a bug (visible) in the export of results when | 1. the result type is org | 2. the source block is indeted | | In this case the begin_org ... end_org lines do not get stripped from the exported file. | | Here is an example to reproduce the behaviour. Just export to see the effect. | | | | #+BEGIN_ORG | Enclosed in non-stripped #+begin_org stuff | #+END_ORG | | | | Correctly exported `---- Regards, Andreas