emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Miro Bezjak <bezjak.miro@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Contribution: ob-groovy.el
Date: Fri, 27 Dec 2013 17:44:33 +0100	[thread overview]
Message-ID: <CAMJqDfOn97bAUDVg6mU=MDJnj5++c=19tdHuK+dL0-GMhGvZ8w@mail.gmail.com> (raw)
In-Reply-To: <m1ob436tpi.fsf@poto.myhome.westell.com>

[-- Attachment #1: Type: text/plain, Size: 3348 bytes --]

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 <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?  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 <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-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
>

[-- Attachment #2: Type: text/html, Size: 5090 bytes --]

  reply	other threads:[~2013-12-27 16:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 21:25 Contribution: ob-groovy.el Miro Bezjak
2013-12-27  0:08 ` Thomas S. Dye
2013-12-27 16:44   ` Miro Bezjak [this message]
2013-12-27 17:40     ` Thomas S. Dye
2013-12-28 16:12       ` Eric Schulte
2013-12-28 23:47         ` Miro Bezjak
2013-12-30  2:53           ` Eric Schulte
2014-03-17 14:23             ` Miro Bezjak
2014-03-17 15:42               ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMJqDfOn97bAUDVg6mU=MDJnj5++c=19tdHuK+dL0-GMhGvZ8w@mail.gmail.com' \
    --to=bezjak.miro@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).