From mboxrd@z Thu Jan 1 00:00:00 1970 From: cberry@tajo.ucsd.edu Subject: [BUG] new exporter and #+BEGIN_CENTER Date: Tue, 17 Jul 2012 16:31:39 -0700 Message-ID: <87zk6yynfo.fsf@tajo.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrHFD-0002kV-0w for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 19:31:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrHFB-0000hH-JA for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 19:31:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:57519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrHFB-0000h3-CE for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 19:31:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SrHF9-0003xv-2Q for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 01:31:51 +0200 Received: from tajo.ucsd.edu ([137.110.122.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jul 2012 01:31:50 +0200 Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jul 2012 01:31:50 +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 This throws an error: ------------------------------ * headline 1 #+BEGIN_CENTER #+BEGIN_SRC R :exports both rnorm(10) #+END_SRC #+END_CENTER ------------------------------ M-: (org-export-to-buffer 'e-latex "latex buffer") RET It does not run the src block and the error is: (error "Invalid search bound (wrong side of point)") re-search-forward("@@[-A-Za-z0-9]+:" 31 t) [snip] org-element-export-snippet-successor(31) [rest deleted] Removing the whitespace between the BEGIN_CENTER and BEGIN_SRC lines runs, but wrongly fails to execute the src block. Removing the CENTER results in running the src block and producing the expected result. My last pull was yesterday: b7be665..69af091 HTH, Chuck -- Charles C. Berry Dept of Family/Preventive Medicine cberry at ucsd edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901