emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: Re: Orgmode + other modes for outlining and studying.
Date: Sun, 10 Jan 2010 08:46:14 -0700	[thread overview]
Message-ID: <871vhyvu7t.fsf@gmail.com> (raw)
In-Reply-To: <58F92BA6-6EC7-4036-88D9-58101DF9D4EC@tsdye.com> (Thomas S. Dye's message of "Sat, 9 Jan 2010 12:52:57 -1000")

"Thomas S. Dye" <tsd@tsdye.com> 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

      reply	other threads:[~2010-01-10 15:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-07 23:21 Orgmode + other modes for outlining and studying Marcelo de Moraes Serpa
2010-01-08  0:07 ` Manish
2010-01-08  0:21 ` Eric Schulte
2010-01-08  0:27   ` Greg Newman
2010-01-08  3:25     ` [Orgmode] " Eric Schulte
2010-01-08  8:49 ` Sébastien Vauban
2010-01-08 16:05   ` Thomas S. Dye
2010-01-09 20:38     ` Sébastien Vauban
2010-01-09 21:22       ` Eric Schulte
2010-01-09 22:52         ` Thomas S. Dye
2010-01-10 15:46           ` Eric Schulte [this message]

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=871vhyvu7t.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    --cc=wxhgmqzgwmuf@spammotel.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).