emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ob-java


From: Jarmo Hurri
Subject: Re: [PATCH] ob-java
Date: Mon, 09 Nov 2020 16:06:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hello Ian!

ian martins <ianxm@jhu.edu> writes:

> Let me know how it goes.

The new version seems to be sensitive to whitespace:

# -------------------------------------------------
* this one works
  #+begin_src java :classname Foo :results output
    public class Foo
    {
      public static void main(String[] args)
      {
        System.out.print("hello, world");
      }
    }
  #+end_src

  #+RESULTS:
  : hello, world

* this one does not (space after word =main=)
  #+begin_src java :classname Foo2 :results output
    public class Foo2
    {
      public static void main (String[] args)
      {
        System.out.print("hello, world");
      }
    }
  #+end_src
# -------------------------------------------------

All the best,

Jarmo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]