emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Robert Lupton the Good <rhl@astro.princeton.edu>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: lisp error: "unbalanced begin/end_src blocks with #(\"#+BEGIN_SRC C"
Date: Mon, 19 Dec 2011 17:29:45 -0500	[thread overview]
Message-ID: <4602.1324333785@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Robert Lupton the Good <rhl@astro.princeton.edu> of "Mon, 19 Dec 2011 13:55:18 EST." <4DE1D190-A9AC-41D4-80E4-97C773BD35ED@astro.princeton.edu>

Robert Lupton the Good <rhl@astro.princeton.edu> 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")))
>   =

  reply	other threads:[~2011-12-19 22:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-19 18:55 lisp error: "unbalanced begin/end_src blocks with #(\"#+BEGIN_SRC C" Robert Lupton the Good
2011-12-19 22:29 ` Nick Dokos [this message]
2011-12-23 16:41 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4602.1324333785@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rhl@astro.princeton.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).