From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Orgmode + other modes for outlining and studying. Date: Sun, 10 Jan 2010 08:46:14 -0700 Message-ID: <871vhyvu7t.fsf@gmail.com> References: <1e5bcefd1001071521k17705476p27809506dfb36fea@mail.gmail.com> <87r5q156de.fsf@mundaneum.com> <87vdfb10b8.fsf@mundaneum.com> <87tyuvdlcz.fsf@gmail.com> <58F92BA6-6EC7-4036-88D9-58101DF9D4EC@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTzzo-0005VF-0r for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 10:46:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTzzj-0005TX-C7 for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 10:46:27 -0500 Received: from [199.232.76.173] (port=53042 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTzzj-0005TS-9S for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 10:46:23 -0500 Received: from mail-gx0-f224.google.com ([209.85.217.224]:37177) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NTzzi-0007Q0-TR for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 10:46:23 -0500 Received: by gxk24 with SMTP id 24so20761041gxk.6 for ; Sun, 10 Jan 2010 07:46:18 -0800 (PST) In-Reply-To: <58F92BA6-6EC7-4036-88D9-58101DF9D4EC@tsdye.com> (Thomas S. Dye's message of "Sat, 9 Jan 2010 12:52:57 -1000") 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: "Thomas S. Dye" Cc: =?utf-8?Q?S=C3=A9bastien?= Vauban , emacs-orgmode@gnu.org "Thomas S. Dye" writes: [..] > > What would it take to add AWK to the list of supported languages, in > addition to Seb's setup? > It is currently possible to run awk one-liners using a shell script block, but I guess awk does straddle the line between command-line command and full-fledged language. It would be possible to add support for awk as a language by fleshing out the org-babel-template.el [1] following the directions in that file itself. All of the *session* functions can be ignored (as I don't think there is such a thing as an interactive awk session) which makes this task relatively simple. Another good guide could be org-babel-ditaa.el [2] which is also a fairly simple language. Best -- Eric Footnotes: [1] http://github.com/eschulte/babel-dev/raw/master/org-babel-template.el [2] http://repo.or.cz/w/org-mode.git/blob_plain/HEAD:/contrib/babel/lisp/langs/org-babel-ditaa.el