Hello Devon,

Well, it's more the advantage of using almost any language inside org-mode
using babel. With it, you can write in a regular org-file and call code
blocks directly from emacs and grab their results. One example is having a
'literate' init.el file, as you can see here:

https://github.com/eschulte/emacs24-starter-kit/blob/master/starter-kit.org#load-the-starter-kit-core

You can see lots of real work examples in the org-babel page. One that is
really nice is this one:
http://www.stats.ox.ac.uk/~davison/software/org-babel/drift.org.html

Hope it helps :)

Lucas


On Tue, Aug 26, 2014 at 2:35 PM, Devon McCormick <[email protected]> wrote:

> Hi -
>
> another J/emacs user here.  So, what's the advantage of using J in
> org-mode?
>
> Thanks,
>
> Devon
>
>
> On Tue, Aug 26, 2014 at 1:28 PM, Lucas Virgili <[email protected]>
> wrote:
>
> > Hey Joe :)
> >
> > I'm actually using your ob-j.el file! But I can't make it work. I'm
> waiting
> > for MELPA to update the org package to see if it's gonna work.
> >
> > I'll tell you soon :)
> >
> >
> > On Tue, Aug 26, 2014 at 6:38 AM, Joe Bogner <[email protected]> wrote:
> >
> > > Hi Lucas,
> > >
> > > Happy to hear from another J, emacs and org-mode user. I was't aware
> > > that a J ob plugin was added. I wrote my own last year:
> > > https://github.com/joebo/org-babel-j. It's simple, but it works for
> > > me.
> > >
> > > #+PROPERTY: session J
> > > #+begin_src j :exports both
> > > 1+1
> > > #+end_src
> > >
> > > #+RESULTS:
> > > | 2 |
> > >
> > > #+begin_src j :results none
> > > name=:'Joe'
> > > #+end_src
> > >
> > >
> > > Hello src_j{name}
> > >
> > > Exporting this will show
> > >
> > > ,----
> > > | 1+1
> > > `----
> > >
> > >  2
> > >
> > > ,----
> > > | name=:'Joe'
> > > `----
> > >
> > >
> > > Hello
> > >  Joe
> > >
> > >
> > > It looks like the one included with emacs was created about a month
> > later.
> > >
> > > https://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00568.html
> > >
> > > I see you updated your SO post that it was resolved. Are you all set
> now?
> > >
> > > On Mon, Aug 25, 2014 at 10:31 PM, Lucas Virgili <[email protected]>
> > > wrote:
> > > > Hello all :)
> > > >
> > > > I have been trying to use org-mode with J source blocks. However,
> when
> > I
> > > > try to eval a J block emacs gives the following error:
> > > >
> > > > Wrong type argument: listp, "none"
> > > >
> > > > I've done everything I could find on google but to no avail :(
> > > >
> > > > Other language blocks are working fine.
> > > >
> > > > I'm using org-mode 8.2 on emacs 24.3.1
> > > >
> > > > I have also posted this on SO, where the relevant parts of my configs
> > are
> > > > copied in a pleasant to see way:
> > > >
> > >
> >
> http://stackoverflow.com/questions/25496927/j-code-block-in-org-mode-returns-wrong-type-argument-listp-none
> > > >
> > > > Thanks in advance,
> > > >
> > > > Lucas
> > > >
> ----------------------------------------------------------------------
> > > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
>
> --
> Devon McCormick, CFA
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to