From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gLb3ElKSql9ABgAA0tVLHw (envelope-from ) for ; Tue, 10 Nov 2020 13:14:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CGm3DlKSql8ndwAAB5/wlQ (envelope-from ) for ; Tue, 10 Nov 2020 13:14:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B28E9940415 for ; Tue, 10 Nov 2020 13:14:57 +0000 (UTC) Received: from localhost ([::1]:32898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcTU8-00045b-0Y for larch@yhetil.org; Tue, 10 Nov 2020 08:14:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcTTh-000449-90 for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 08:14:29 -0500 Received: from mail-ej1-f46.google.com ([209.85.218.46]:34390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcTTd-0004nf-Ji for emacs-orgmode@gnu.org; Tue, 10 Nov 2020 08:14:28 -0500 Received: by mail-ej1-f46.google.com with SMTP id o9so17528706ejg.1 for ; Tue, 10 Nov 2020 05:14:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=l9mI3VPRnq6UcNmMGffEtQLuisXEAc/XkEoVw/SFMq0=; b=kff6bwWt4r9ERqbkoFmfGq1aZ/FCsp8r6yZhXl08741wSWe6BJVQHDQXnpII6hvrmv ArKNRinl7jkogQQ1VkgmiQqrdoSM+CR20lQ+q8J44W8VIuGTn+Ai6B0XmKL0rpHKo9DJ oHUA+4N4d69YiRXZ3j7FEYhFYB9dfN2lpdPiXpGQq4O0e7MFd3bWfGrjokOcvMlkpGI2 jhkKPNygiY9+iOh+YEbijXTzMxoBVEhVz6ej5QAVXFycEERmYm/yWTHZ0APfuJ+IQAQa /d5WQJzDYAmpYelMGPcGcqMqmFvxHQKIeaboKk1eI9VzDecj57SaTNTOkZk7mQb7M9VS iYJg== X-Gm-Message-State: AOAM530z8IFOiNFv8SPuwhADcBEEy5oU1YKyHljjZm3Rc4TctaGcuddG xMRm6JS0MdzVVHxcjDCmiOgOTbULKnEm3bEwYqHEX9JBYT4= X-Google-Smtp-Source: ABdhPJwus67M+j0WJnC9Dj3VBYH76emf77e+Y1MeDZbTSdYp47hpdiZ8XAraEiLPWiHWpNtfo/4twBLXhX0k88trJco= X-Received: by 2002:a17:906:d7a3:: with SMTP id pk3mr19508010ejb.208.1605014063275; Tue, 10 Nov 2020 05:14:23 -0800 (PST) MIME-Version: 1.0 References: <87y2jv367k.fsf@kyleam.com> <87v9ez2flk.fsf@kyleam.com> <87361nwyvg.fsf@iki.fi> <87y2jfukky.fsf@iki.fi> <87o8k68w05.fsf@iki.fi> In-Reply-To: <87o8k68w05.fsf@iki.fi> From: ian martins Date: Tue, 10 Nov 2020 08:14:11 -0500 Message-ID: Subject: Re: [PATCH] ob-java To: Org-Mode mailing list Content-Type: multipart/alternative; boundary="00000000000019e87b05b3c07598" Received-SPF: pass client-ip=209.85.218.46; envelope-from=ianxm1@gmail.com; helo=mail-ej1-f46.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 08:14:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=jhu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.91 X-TUID: YO8cvrPOYaME --00000000000019e87b05b3c07598 Content-Type: text/plain; charset="UTF-8" That is true. I will make it less rigid. On Mon, Nov 9, 2020 at 9:07 AM Jarmo Hurri wrote: > > Hello Ian! > > ian martins 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 > > > --00000000000019e87b05b3c07598 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That is true. I will make it less rigid.

On Mon, Nov 9,= 2020 at 9:07 AM Jarmo Hurri <jarm= o.hurri@iki.fi> wrote:

Hello Ian!

ian martins <ianxm@jh= u.edu> writes:

> Let me know how it goes.

The new version seems to be sensitive to whitespace:

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

=C2=A0 #+RESULTS:
=C2=A0 : hello, world

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

All the best,

Jarmo


--00000000000019e87b05b3c07598--