From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: Re: [PATCH] Add ob-J.el Date: Sat, 21 Dec 2013 10:05:02 +0100 Message-ID: References: <878uvfv43r.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuIUa-0006u8-Sz for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 04:05:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuIUZ-0008B0-MF for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 04:05:04 -0500 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:48022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuIUZ-00088p-Fi for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 04:05:03 -0500 Received: by mail-wi0-f181.google.com with SMTP id hq4so4629824wib.14 for ; Sat, 21 Dec 2013 01:05:02 -0800 (PST) In-Reply-To: <878uvfv43r.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: org mode > Applied, Thanks! > > I've played with APL but never seriously, however I can see it being a > perfect tool for manipulating Org-mode tables. It's a nice tool, and I wrote this package just to learn J faster. I wrote some time ago a package that takes a range, maps elisp code over it and inserts it, e.g m4(* x x) becomes 0 1 4 9 16. Then I realized that the parens and spaces weren't really necessary and now this works as well: m4*xx. After learning some of J, I see that even arguments aren't necessary, e.g. m4*: describes the same thing in J. If you want to try the package, it's called "tiny" in MELPA. It's got one interesting application for org-mode: schedule/deadline an activity for a span of days: m0\n4|** TODO Something work-related %(1+ x)\nSCHEDULED: <%(date "mon" x) 10:00 +1w> expands to: ** TODO Something work-related 1 SCHEDULED: <2013-12-23 Mon 10:00 +1w> ** TODO Something work-related 2 SCHEDULED: <2013-12-24 Tue 10:00 +1w> ** TODO Something work-related 3 SCHEDULED: <2013-12-25 Wed 10:00 +1w> ** TODO Something work-related 4 SCHEDULED: <2013-12-26 Thu 10:00 +1w> ** TODO Something work-related 5 SCHEDULED: <2013-12-27 Fri 10:00 +1w> > If you have time to put some documentation up on Worg as a new [1] > linked from [2] that'd be great. I'll do this soon. regards, Oleh