[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Args out of range on Java include [8.3.2 (8.3.2-dist @ /Use
Re: [O] Bug: Args out of range on Java include [8.3.2 (8.3.2-dist @ /Users/dmusican/.emacs.d/org-8.3.2/lisp/)]
Tue, 05 Jan 2016 23:35:47 +0100
Dave Musicant <address@hidden> 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 ?