Re: [PATCH] ob-java.el: Allow for more whitespace

2020-12-13 Thread Bastien
ian martins writes: > Two patches are attached. One allows for more whitespace in java code > blocks. The other fixes a bug that would result in a main method being > wrapped in another main method. Closing this now, thanks! -- Bastien

Re: [PATCH] ob-java.el: Allow for more whitespace

2020-11-14 Thread Kyle Meyer
ian martins writes: > On Thu, Nov 12, 2020 at 10:46 PM Kyle Meyer wrote: >> Is this related to Jarmo's report at >> ? If so, it'd be good >> to include a Reported-by trailer as well as a link. > > Yes. The updated patch includes Reported-by. That

Re: [PATCH] ob-java.el: Allow for more whitespace

2020-11-14 Thread ian martins
On Thu, Nov 12, 2020 at 10:46 PM Kyle Meyer wrote: > > ian martins writes: > > > Subject: [PATCH 2/2] ob-java.el: Allow for more whitespace in java code > > > > * lisp/ob-java.el (defconst *-re): Updated regexps to allow for more > > whitespace in the content of java code blocks, and removed some

Re: [PATCH] ob-java.el: Allow for more whitespace

2020-11-12 Thread Kyle Meyer
ian martins writes: > Subject: [PATCH 1/2] ob-java.el: Do not wrap a main method in a main method > > * lisp/ob-java.el (org-babel-expand-body:java): The code was checking > for existence of a class declaration before wrapping the content of > the code block in a main method, but it should be chec