From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miro Bezjak Subject: Re: Contribution: ob-groovy.el Date: Fri, 27 Dec 2013 17:44:33 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013c6b38732b7a04ee86d1f0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwaXF-0005Da-3P for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 11:45:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwaXD-0002RE-EP for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 11:45:17 -0500 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:56855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwaXD-0002Qz-09 for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 11:45:15 -0500 Received: by mail-la0-f47.google.com with SMTP id ep20so4311103lab.20 for ; Fri, 27 Dec 2013 08:45:13 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org --089e013c6b38732b7a04ee86d1f0 Content-Type: text/plain; charset=UTF-8 Hi Thomas, can I do all those tasks over the couple of days - when I have more time? Should I just add the documentation before ob-groovy.el is accepted? For now, I've updated languages to include scala. http://orgmode.org/worg/org-contrib/babel/languages.html Kind Regards, Miro On Fri, Dec 27, 2013 at 1:08 AM, Thomas S. Dye wrote: > Aloha Miro, > > Thanks for your contribution to Org mode. > > Have you signed the FSF papers so that ob-groovy.el can be added to Org > mode? See: > http://orgmode.org/worg/org-contribute.html#sec-6 > > Contributions by authors who have not signed the FSF papers are > typically added to the contrib directory and are not distributed with > Emacs. > > Also, are you willing to draft documentation? For a link to a > documentation template, see: > http://orgmode.org/worg/org-contrib/babel/languages.html > > I was going to suggest that you use the Scala documentation as a guide, > but it doesn't exist! In fact, Scala doesn't appear in Worg's list of > languages supported by Babel. One of those days ... > > Thanks again for your contribution. > > All the best, > Tom > > Miro Bezjak writes: > > > Hi all, > > > > I would like to contribute org-babel functions for Groovy evaluation. I > > simply > > copy/pasted ob-scala.el and made appropriate changes. > > > > I'm attaching ob-groovy.el as a file. > > > > All 3 tests pass, although I haven't created `testing/test-ob-groovy.el` > - > > I'll > > look into that. > > > > --- testing last result ---------------- > > #+BEGIN_SRC groovy > > println "ignored" > > 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > : 3 > > ---------------------------------------- > > > > --- testing results output -------------- > > #+BEGIN_SRC groovy :results output > > println '1' > > println '2' > > println 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > =1 > > 2 > > 3 > > ---------------------------------------- > > > > --- testing table ---------------------- > > #+BEGIN_SRC groovy :results verbatim raw > > """ > > | 1 | 2 > > |-- > > | a | b > > """.trim() > > #+END_SRC > > > > #+RESULTS: > > | 1 | 2 | > > |---+---| > > | a | b | > > ---------------------------------------- > > > > > > Kind Regards, > > Miro Bezjak > > Hi all, > > > > I would like to contribute org-babel functions for Groovy evaluation. > > I simply > > copy/pasted ob-scala.el and made appropriate changes. > > > > I'm attaching ob-groovy.el as a file. > > > > All 3 tests pass, although I haven't created > > `testing/test-ob-groovy.el` - I'll > > look into that. > > > > --- testing last result ---------------- > > #+BEGIN_SRC groovy > > println "ignored" > > 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > : 3 > > ---------------------------------------- > > > > --- testing results output -------------- > > #+BEGIN_SRC groovy :results output > > println '1' > > println '2' > > println 1 + 2 > > #+END_SRC > > > > #+RESULTS: > > =1 > > 2 > > 3 > > ---------------------------------------- > > > > --- testing table ---------------------- > > #+BEGIN_SRC groovy :results verbatim raw > > """ > > | 1 | 2 > > |-- > > | a | b > > """.trim() > > #+END_SRC > > > > #+RESULTS: > > | 1 | 2 | > > |---+---| > > | a | b | > > ---------------------------------------- > > > > Kind Regards, > > Miro Bezjak > > > > > > -- > Thomas S. Dye > http://www.tsdye.com > --089e013c6b38732b7a04ee86d1f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Thomas,

can I do all those = tasks over the couple of days - when I have more time?

Sh= ould I just add the documentation before ob-groovy.el is accepted?

For now, I've updated languages to include scala.
http://orgmod= e.org/worg/org-contrib/babel/languages.html

Kind Regards,
Miro


On Fri, Dec 27, 2013 at 1:08 AM, Thomas S. Dye <= ;tsd@tsdye.com> wrote:
Aloha Miro,

Thanks for your contribution to Org mode.

Have you signed the FSF papers so that ob-groovy.el can be added to Org
mode? =C2=A0See:
http://orgmode.org/worg/org-contribute.html#sec-6

Contributions by authors who have not signed the FSF papers are
typically added to the contrib directory and are not distributed with
Emacs.

Also, are you willing to draft documentation? =C2=A0For a link to a
documentation template, see:
http://orgmode.org/worg/org-contrib/babel/languages.html
I was going to suggest that you use the Scala documentation as a guide,
but it doesn't exist! In fact, Scala doesn't appear in Worg's l= ist of
languages supported by Babel. =C2=A0One of those days ...

Thanks again for your contribution.

All the best,
Tom

Miro Bezjak <bezjak.miro@gmail.= com> writes:

> Hi all,
>
> I would like to contribute org-babel functions for Groovy evaluation. = I
> simply
> copy/pasted ob-scala.el and made appropriate changes.
>
> I'm attaching ob-groovy.el as a file.
>
> All 3 tests pass, although I haven't created `testing/test-ob-groo= vy.el` -
> I'll
> look into that.
>
> --- testing last result ----------------
> #+BEGIN_SRC groovy
> println "ignored"
> 1 + 2
> #+END_SRC
>
> #+RESULTS:
> : 3
> ----------------------------------------
>
> --- testing results output --------------
> #+BEGIN_SRC groovy :results output
> println '1'
> println '2'
> println 1 + 2
> #+END_SRC
>
> #+RESULTS:
> =3D1
> 2
> 3
> ----------------------------------------
>
> --- testing table ----------------------
> #+BEGIN_SRC groovy :results verbatim raw
> """
> | 1 | 2
> |--
> | a | b
> """.trim()
> #+END_SRC
>
> #+RESULTS:
> | 1 | 2 |
> |---+---|
> | a | b |
> ----------------------------------------
>
>
> Kind Regards,
> Miro Bezjak
> Hi all,
>
> I would like to contribute org-babel functions for Groovy evaluation.<= br> > I simply
> copy/pasted ob-scala.el and made appropriate changes.
>
> I'm attaching ob-groovy.el as a file.
>
> All 3 tests pass, although I haven't created
> `testing/test-ob-groovy.el` - I'll
> look into that.
>
> --- testing last result ----------------
> #+BEGIN_SRC groovy
> println "ignored"
> 1 + 2
> #+END_SRC
>
> #+RESULTS:
> : 3
> ----------------------------------------
>
> --- testing results output --------------
> #+BEGIN_SRC groovy :results output
> println '1'
> println '2'
> println 1 + 2
> #+END_SRC
>
> #+RESULTS:
> =3D1
> 2
> 3
> ----------------------------------------
>
> --- testing table ----------------------
> #+BEGIN_SRC groovy :results verbatim raw
> """
> | 1 | 2
> |--
> | a | b
> """.trim()
> #+END_SRC
>
> #+RESULTS:
> | 1 | 2 |
> |---+---|
> | a | b |
> ----------------------------------------
>
> Kind Regards,
> Miro Bezjak
>
>

--
Thomas S. Dye
http://www.tsdye.com=

--089e013c6b38732b7a04ee86d1f0--