From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Babel Clojure example problems
Date: Thu, 5 Jun 2014 10:17:16 -0500 [thread overview]
Message-ID: <CAFAhFSU4bgk=86iPOChe-_2FxSyCmf80q=b2VwDo+nFC2z6bnQ@mail.gmail.com> (raw)
In-Reply-To: <8761kf1m6q.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]
I guess the question comes down to, Do I need to install ob-clojure.el and
if so, what's the best way? ELPA doesn't have it. But then my (require
'ob-clojure) doesn't seem to throw an error. . . .
LB
On Thu, Jun 5, 2014 at 9:10 AM, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Lawrence Bottorff <borgauf@gmail.com> writes:
>
> [why PM?]
>
> > . . . and here's what I get:
> >
> > #+begin_src emacs-lisp
> > (emacs-version)
> > #+end_src
> >
> > #+RESULTS:
> > : GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.6)
> > : of 2014-01-02 on papaya, modified by Debian
> >
> > #+begin_src emacs-lisp
> > (call-interactively 'org-version)
> > #+end_src
> >
> > #+RESULTS:
> > : Org-mode version 8.2.3a (release_8.2.3a @
> > /home/me/.emacs.d/elpa/org-20140602/)
> >
> > Q: Do I need to download and install a separate ob-clojure.el ? Or is
> > it included somewhere?
>
> havn't done much with ob-clojure yet, sorry, but when block 1 and 2 work
> for you, you must have it.
>
> maybe return to the list and ask if somebody can decipher the error
> message? I'm just starting out with clojure and can't help much. I just
> opened a temp buffer, put it in org-mode, inserted you 3 blocks, called
> M-x cider-jack-in, and evaluated them successfully ...
>
> > LB
> >
> > On Thu, Jun 5, 2014 at 4:53 AM, Thorsten Jolitz <tjolitz@gmail.com>
> > wrote:
> >
> > Lawrence Bottorff <borgauf@gmail.com> writes:
> >
> > > I'm having trouble following the example page on babel and
> > clojure (
> > >
> > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.
> > html
> > > ). I believe I've done everything correctly, the first example
> > works:
> >
> >
> > all 3 blocks work fine for me
> >
> >
> > #+begin_src clojure :results silent
> > (+ 1 4)
> > #+end_src
> >
> >
> > #+begin_src clojure :results value
> > [ 1 2 3 4]
> > #+end_src
> >
> >
> > #+results:
> > | 1 | 2 | 3 | 4 |
> >
> >
> > #+begin_src clojure :results value
> > (def small-map {:a 2 :b 4 :c 8})
> > (:b small-map)
> > #+end_src
> >
> >
> > #+results:
> > : 4
> >
> >
> > PS
> > #+begin_src emacs-lisp
> > (emacs-version)
> > #+end_src
> >
> > #+results:
> > : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7)
> > : of 2014-01-28 on var-lib-archbuild-extra-x86_64-juergen
> >
> >
> > #+begin_src emacs-lisp
> > (call-interactively 'org-version)
> > #+end_src
> >
> > #+results:
> >
> > : Org-mode version 8.2.6 (release_8.2.6-1123-g024a05 @
> > : /usr/share/emacs/24.3/lisp/org/lisp/)
> >
> > --
> > cheers,
> > Thorsten
> >
> >
> >
> >
>
> --
> cheers,
> Thorsten
>
[-- Attachment #2: Type: text/html, Size: 4127 bytes --]
next prev parent reply other threads:[~2014-06-05 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-05 4:49 Babel Clojure example problems Lawrence Bottorff
2014-06-05 9:53 ` Thorsten Jolitz
[not found] ` <CAFAhFSUe3ih1ViUfQPO06CMLe1c+u5JDczHHGh-x4eXGX3jNQA@mail.gmail.com>
[not found] ` <8761kf1m6q.fsf@gmail.com>
2014-06-05 15:17 ` Lawrence Bottorff [this message]
2014-06-05 15:38 ` Thorsten Jolitz
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='CAFAhFSU4bgk=86iPOChe-_2FxSyCmf80q=b2VwDo+nFC2z6bnQ@mail.gmail.com' \
--to=borgauf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).