From: Eric Schulte <eric.schulte@gmx.com>
To: kima VCRP <maikschuenemann@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel clojure support outdated/not working
Date: Tue, 29 May 2012 09:41:22 -0600 [thread overview]
Message-ID: <87fwaj0zbx.fsf@gmx.com> (raw)
In-Reply-To: <CAGXfcpzEXNnf20Bs-U7bg1QE06BqV2uFwjE5JaFMYWHOruNiMw@mail.gmail.com> (kima VCRP's message of "Mon, 28 May 2012 23:01:25 +0200")
kima VCRP <maikschuenemann@gmail.com> writes:
> Hello Org-people.
> After using org-mode for organisation, I came around org-babel and it's
> capabilities of literate programming.
> I will do some literate programming with clojure in the future and wanted
> to use org-babel with clojure, but the instructions at
> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html are
> not working anymore.
> I described this and my naive workarounds in my blog:
> http://kimavcrp.blogspot.de/2012/05/setting-up-org-mode-babel-with-clojure.html
> Can you give me some advice/starting points to update clojure support or at
> least the instruction manual ?
> thanks
Hi,
Please search through these list archives for previous discussions of
working with Clojure code blocks. Every time the clojure slime support
changes small changes are required in ob-clojure.el as well. Generally
the change is as simple as changing a single function name in the
definition of the `org-babel-execute:clojure' function.
Currently this function uses
;; -*- emacs-lisp -*-
(slime-eval
`(swank:eval-and-grab-output
,(buffer-substring-no-properties (point-min) (point-max)))
(cdr (assoc :package params)))
to evaluate a snippet of clojure code returning a string of the results.
If you come up with a patch to ob-clojure.el please do share it on this
list.
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
prev parent reply other threads:[~2012-05-29 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 21:01 org-babel clojure support outdated/not working kima VCRP
2012-05-29 15:41 ` 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=87fwaj0zbx.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=emacs-orgmode@gnu.org \
--cc=maikschuenemann@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).