From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [babel] hemorrhaging at the bleeding edge: using clojure Date: Wed, 27 Apr 2011 16:50:21 +0100 Message-ID: <87r58nsngi.fsf@pinto.chemeng.ucl.ac.uk> References: <87k4egi0u5.fsf@ucl.ac.uk> <87wrifkevi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF70X-00034X-4n for emacs-orgmode@gnu.org; Wed, 27 Apr 2011 11:50:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QF70W-0003pV-5f for emacs-orgmode@gnu.org; Wed, 27 Apr 2011 11:50:29 -0400 Received: from vscani-d2.ucl.ac.uk ([144.82.108.133]:62342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QF70V-0003or-RJ for emacs-orgmode@gnu.org; Wed, 27 Apr 2011 11:50:28 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org "Eric Schulte" 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)