emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Miro Bezjak <bezjak.miro@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Contribution: ob-groovy.el
Date: Thu, 26 Dec 2013 14:08:57 -1000	[thread overview]
Message-ID: <m1ob436tpi.fsf@poto.myhome.westell.com> (raw)
In-Reply-To: <CAMJqDfPbUqRDa9POaR5r4Mt65tMi5C8L6nx6kkrZKzcH=7+6rw@mail.gmail.com> (Miro Bezjak's message of "Thu, 26 Dec 2013 22:25:15 +0100")

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

  reply	other threads:[~2013-12-27  0:09 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 [this message]
2013-12-27 16:44   ` Miro Bezjak
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=m1ob436tpi.fsf@poto.myhome.westell.com \
    --to=tsd@tsdye.com \
    --cc=bezjak.miro@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).