From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: java snippet code not exported Date: Mon, 21 Mar 2011 08:39:44 +0000 Message-ID: <87r5a0vpdb.fsf@ucl.ac.uk> References: <52EDD36E-A137-44AF-B39B-503E1F1D90B3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=41674 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1cVp-00059X-Ls for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 06:39:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1cVn-0003Pg-S3 for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 06:39:00 -0400 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:48222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1cVn-0003NO-O1 for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 06:38:59 -0400 In-Reply-To: <52EDD36E-A137-44AF-B39B-503E1F1D90B3@gmail.com> (Andrea Crotti's message of "Sun, 20 Mar 2011 23:02:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrea Crotti Cc: emacs-orgmode@gnu.org Andrea Crotti writes: > I was carrying around this issue since long time, but today I finally > understood what exactly the source is. > > Suppose I have this very simple orgfile, if I try to export it to html I > get the error as below. Can anyone else reproduce it? I guess is > font-locking problem but that should be a perfectly valid (even if > perfectly useless java snippet). > > > title > > #+begin_src java > import static org.junit.Assert.*; > > #+end_src [...] > Thanks, > Andrea > > -- > Org-mode version 7.5 (release_7.5.60.g706a) Andrea, This works just fine for me. No errors at all and the code (html) generated seems fine. Try latest git version maybe in case the problem has somehow been fixed in the 30+ commits made 2since the version you used? -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.91.g38c6b)