From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Crotti Subject: java snippet code not exported Date: Sun, 20 Mar 2011 23:02:45 +0100 Message-ID: <52EDD36E-A137-44AF-B39B-503E1F1D90B3@gmail.com> Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1Qi2-0003Ev-4A for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 18:02:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1Qi1-0000xY-66 for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 18:02:50 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:58738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1Qi0-0000xU-PC for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 18:02:49 -0400 Received: by bwz17 with SMTP id 17so5203623bwz.0 for ; Sun, 20 Mar 2011 15:02:47 -0700 (PDT) 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: emacs-orgmode@gnu.org 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). --8<---------------cut here---------------start------------->8--- title #+begin_src java import static org.junit.Assert.*; #+end_src --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (args-out-of-range 106 113) put-text-property(106 113 face font-lock-type-face) c-fontify-recorded-types-and-refs()... --8<---------------cut here---------------end--------------->8--- Thanks, Andrea -- Org-mode version 7.5 (release_7.5.60.g706a)