emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Dave Musicant <musicant@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Args out of range on Java include [8.3.2 (8.3.2-dist @ /Users/dmusican/.emacs.d/org-8.3.2/lisp/)]
Date: Tue, 05 Jan 2016 23:35:47 +0100	[thread overview]
Message-ID: <87y4c37iyk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <568C0F1B.4060908@gmail.com> (Dave Musicant's message of "Tue, 5 Jan 2016 12:44:43 -0600")

Hello,

Dave Musicant <musicant@gmail.com> writes:

> I've got an org-mode file with a single line in it:
>
> #+INCLUDE: "Temp.java" src java
>
> That file, in turn, is including a Java file with a single line in it:
>
> import java.util.abcde.*;
>
> When I try to export the org file to HTML, it results in an Args out of
> range error. This error does not happen if the import statement is
> simpler, such as
>
> import java.util.*;
>
> Worse yet, this error isn't consistent. If I fix the Java file (as
> above), then go back to the org file and try to export again, it works;
> after that, if I _then_ put the longer import back into the Temp.java,
> the org file still exports correctly. After some inconclusive amount of 
> screwing around with it, exports will start failing again. But it seems 
> to reliably fail when Emacs and the org file are first opened.
>
> Any thoughts? This is a real problem for me; I'm trying to include a
> Java program into an org file, and it's choking on the import line.

Could you try development version and try again? If that fails, could
you provide a backtrace of the error ?

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-01-05 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 18:44 Bug: Args out of range on Java include [8.3.2 (8.3.2-dist @ /Users/dmusican/.emacs.d/org-8.3.2/lisp/)] Dave Musicant
2016-01-05 22:35 ` Nicolas Goaziou [this message]

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=87y4c37iyk.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=musicant@gmail.com \
    /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).