From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: lisp error: "unbalanced begin/end_src blocks with #(\"#+BEGIN_SRC C" Date: Mon, 19 Dec 2011 17:29:45 -0500 Message-ID: <4602.1324333785@alphaville.americas.hpqcorp.net> References: <4DE1D190-A9AC-41D4-80E4-97C773BD35ED@astro.princeton.edu> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rclia-00087C-09 for emacs-orgmode@gnu.org; Mon, 19 Dec 2011 17:30:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcliY-0007U7-JV for emacs-orgmode@gnu.org; Mon, 19 Dec 2011 17:29:59 -0500 Received: from g6t0187.atlanta.hp.com ([15.193.32.64]:46559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcliY-0007Sj-Fw for emacs-orgmode@gnu.org; Mon, 19 Dec 2011 17:29:58 -0500 In-Reply-To: Message from Robert Lupton the Good of "Mon, 19 Dec 2011 13:55:18 EST." <4DE1D190-A9AC-41D4-80E4-97C773BD35ED@astro.princeton.edu> 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: Robert Lupton the Good Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Robert Lupton the Good wrote: > Running org-export-as-latex on: > > #+STARTUP: beamer > > #+LaTeX_CLASS: beamer > >=20 > > #+BEGIN_SRC C > > double tmp0 =3D yp[0]; > > #+END_SRC > > generates the following traceback. Adding a "* foo" line above the = > BEGIN_SRC avoids the problem. > Yup - Robert Goldman ran into this too a couple of weeks ago - see the thread at http://thread.gmane.org/gmane.emacs.orgmode/50134 No resolution yet afaik: I'm sure Bastien would welcome a well-crafted patch though. Nick > Using org-mode from git; SHA1 0c09a9e7683c79c8525f87ccd1b7ba0255a94b1c > > R > > Debugger entered--Lisp error: (error "unbalanced begin/end_src blocks = > with #(\"#+BEGIN_SRC C > \" 0 11 (fontified nil font-lock-fontified t org-category \"bug\") 11 13 = > (fontified nil font-lock-fontified t org-category \"bug\") 13 14 = > (fontified nil font-lock-fontified t org-category \"bug\"))") > signal(error ("unbalanced begin/end_src blocks with #(\"#+BEGIN_SRC = > C\n\" 0 11 (fontified nil font-lock-fontified t org-category \"bug\") 11 = > 13 (fontified nil font-lock-fontified t org-category \"bug\") 13 14 = > (fontified nil font-lock-fontified t org-category \"bug\"))")) > error("unbalanced begin/end_%s blocks with %S" src #("#+BEGIN_SRC C\n" = > 0 11 (fontified nil font-lock-fontified t org-category "bug") 11 13 = > (fontified nil font-lock-fontified t org-category "bug") 13 14 = > (fontified nil font-lock-fontified t org-category "bug"))) > =