From: Oleh <ohwoeowho@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] Add ob-J.el
Date: Sat, 21 Dec 2013 10:05:02 +0100 [thread overview]
Message-ID: <CAA01p3qXCgrS9SxuJQY9yQ9GddFdSoqbdepasiJ20fCz-vQW0Q@mail.gmail.com> (raw)
In-Reply-To: <878uvfv43r.fsf@gmail.com>
> 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
next prev parent reply other threads:[~2013-12-21 9:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 13:51 [PATCH] Add ob-J.el Oleh
2013-12-20 16:13 ` Bastien
2013-12-20 17:12 ` Eric Schulte
2013-12-21 9:05 ` Oleh [this message]
2013-12-21 16:14 ` [BUG] " Rick Frankel
2013-12-21 17:40 ` Oleh
2013-12-21 18:58 ` Eric Schulte
2013-12-20 17:22 ` [PATCH] " Thomas S. Dye
2013-12-21 8:07 ` Oleh
2013-12-24 11:37 ` Oleh
2013-12-24 17:10 ` Thomas S. Dye
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=CAA01p3qXCgrS9SxuJQY9yQ9GddFdSoqbdepasiJ20fCz-vQW0Q@mail.gmail.com \
--to=ohwoeowho@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.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).