Emacs mode for Clojure

133 views
Skip to first unread message

LSta...@gmail.com

unread,
Dec 6, 2007, 6:07:31 AM12/6/07
to Clojure
Hi!

I started working on a simple emacs mode for Clojure. Is anyone else
working on one also?

Bill Smith (personal email account)

unread,
Dec 6, 2007, 8:35:40 AM12/6/07
to clo...@googlegroups.com
If you search the newsgroup for "Emacs", you'll find a posting by another person who asked the same question.

-Bill

LSta...@gmail.com

unread,
Dec 6, 2007, 1:16:47 PM12/6/07
to Clojure
I've made a darcs repository of my work:

darcs get http://www.lysator.liu.se/~lenst/darcs/clojure-mode

It is similar to lisp-mode and works with clojure running in inferior-
lisp.

Simple font-lock and indent support.

//Lennart

Bill Smith (personal email account)

unread,
Dec 6, 2007, 1:19:19 PM12/6/07
to clo...@googlegroups.com
Awesome!  Thanks.

-Bill

Rich Hickey

unread,
Dec 6, 2007, 3:07:04 PM12/6/07
to Clojure
Thanks!

On Dec 6, 1:16 pm, "LStaf...@gmail.com" <LStaf...@gmail.com> wrote:
> I've made a darcs repository of my work:
>
> darcs gethttp://www.lysator.liu.se/~lenst/darcs/clojure-mode

Mathias Dahl

unread,
Dec 6, 2007, 5:44:00 PM12/6/07
to Clojure
> I've made a darcs repository of my work:
>
> darcs gethttp://www.lysator.liu.se/~lenst/darcs/clojure-mode
>
> It is similar to lisp-mode and works with clojure running in inferior-
> lisp.

This is what I did to start Clojure as an inferior lisp (I normally
have SBCL configured, so I had to explicitly call Clojure below):

(inferior-lisp "java -cp /path/to/clojure/clojure.jar
clojure.lang.Repl /path/to/clojure/src/boot.clj")

Seems to work very well. C-M-x evaluates current sexp like in Elisp.

Great work!

/Mathias
Reply all
Reply to author
Forward
0 new messages