From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [babel] - Support for Groovy Date: Fri, 19 Mar 2010 18:55:15 +0000 Message-ID: <87ljdop2ek.wl%ucecesf@ucl.ac.uk> References: <211769421003191046x18b4ae74u888c59053462b72c@mail.gmail.com> <87mxy4rvry.fsf@stats.ox.ac.uk> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NshLx-0003jm-JK for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:55:25 -0400 Received: from [140.186.70.92] (port=56458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NshLw-0003iV-6m for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:55:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NshLu-0006sL-9o for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:55:24 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:43240) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NshLu-0006sC-4t for emacs-orgmode@gnu.org; Fri, 19 Mar 2010 14:55:22 -0400 In-Reply-To: <87mxy4rvry.fsf@stats.ox.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs-orgmode@gnu.org On Fri, 19 Mar 2010 14:50:09 -0400, Dan Davison wr= ote: >=20 > Nathan Neff writes: >=20 > > I'm trying to write an org-babel-groovy.el file, and have read through = the > > org-babel-template.el and org-babel-template.org files. [...] > > =C2=A0 (Ex: usage:=C2=A0 groovy blah blah blah) > > >=20 > Hi Nate, >=20 > > I suspect that this is because I don't have a major-mode for Groovy ins= talled. >=20 > No, that's not the problem. This should be easy to fix... we just need > to know how to get groovy to read commands from standard input. I.e. how > do we do the groovy equivalent of this: Can you not simply put the commands into a file and then run groovy on that given that groovy obviously expects a file (see usage above)? I believe that's what you have done with some of the other babel languages? It's what I did for my own very clumsy and limited maxima and octave interfaces...