emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: java snippet code not exported
Date: Sun, 20 Mar 2011 23:02:45 +0100	[thread overview]
Message-ID: <52EDD36E-A137-44AF-B39B-503E1F1D90B3@gmail.com> (raw)

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)

             reply	other threads:[~2011-03-20 22:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-20 22:02 Andrea Crotti [this message]
2011-03-21  8:39 ` java snippet code not exported Eric S Fraga
2011-03-21 10:55   ` andrea crotti

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=52EDD36E-A137-44AF-B39B-503E1F1D90B3@gmail.com \
    --to=andrea.crotti.0@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).