emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure


From: Eric S Fraga
Subject: Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure
Date: Wed, 27 Apr 2011 16:50:21 +0100
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

"Eric Schulte" <address@hidden> writes:

[...]

> I would suggest using that latest version of ELPA, and adding the
> following repository sources to your ELPA archives...

Done.  Thanks for the more comprehensive list of archives.

[...]

> This should result in the correct collection of packages being made
> available.  Once that is done I've used something like the following
> successfully in the past.
>
> #+begin_src emacs-lisp
>   ;; clojure
>   (setq swank-clojure-classpath "/home/eschulte/.clojure.d/ext/")
>   (require 'clojure-mode)
>   (require 'swank-clojure)
>   (require 'slime)
>   (require 'slime-repl)
>   (setq swank-clojure-binary "/home/eschulte/bin/clj-env"
>         swank-clojure-jar-path 
> "/home/eschulte/.clojure.d/ext/clojure-1.2.0.jar"
>         slime-lisp-implementations
>         (cons `(clojure ,(swank-clojure-cmd) :init swank-clojure-init)
>               (remove-if #'(lambda (x) (eq (car x) 'clojure))
>                          slime-lisp-implementations)))
>   
>   ;; don't know why this is needed all of a sudden
>   (add-hook 'clojure-mode-hook (lambda () (font-lock-mode t)))
>   
>   (setf slime-default-lisp 'clojure)
> #+end_src

This does not quite work for me.  When I try to start slime, swank.jar
is not found.   Should I be downloading this from somewhere specific?

Thanks again,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.209.g1a687)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]