Live data from Hacker News

Emacs under Clojure

github.com

11–20 of 37 posts

Re: Emacs under Clojure

#11
Why not just write a similar editor, with same shortcuts, rewritten modules/modes etc, but with new architecture and paradigms?

Re: Emacs under Clojure

#12

I wonder if the guys that use emacs will really want to use another version of it running on the JVM. I get this feeling that most of them despise the JVM, and the guys who generally use JVM are eclipse/netbeans guys. Sure there will be some people that don't fit in this category. Though, it seems like the OP is trying to fix something that isn't broken. Anyways, it will be a great learning experience.

You may be right, but those of us who currently use Emacs + SLIME for Clojure work might flock to such an editor. A subset of a subset of Emacs users, for sure, but not insignificant.

Re: Emacs under Clojure

#13
post #11

Why not just write a similar editor, with same shortcuts, rewritten modules/modes etc, but with new architecture and paradigms?

The existing body of Emacs Lisp packages is sufficiently large to make this a cost-prohibitive task.

Re: Emacs under Clojure

#15
post #8

tromey started a project to port Emacs to pure CL ( http://tromey.com/blog/?p=709 ). Why not help him out instead of dividing the effort?

Didn't Erik Naggum try his hand at a CL/CLIM port years and years ago?

Yeah, climacs. http://common-lisp.net/project/climacs/

By the way. Porting the C part is one thing but what to do about all the emacs lisp packages? a compat mode?

Re: Emacs under Clojure

#17
post #8

Earlier quoted context omitted.

Didn't Erik Naggum try his hand at a CL/CLIM port years and years ago?

Yeah, climacs. http://common-lisp.net/project/climacs/ By the way. Porting the C part is one thing but what to do about all the emacs lisp packages? a compat mode?

See http://tromey.com/blog/?p=778 where he talks about some of the difficulties.

tldr; Theoretically it should just work. There are some tricky bits.

Re: Emacs under Clojure

#18

I wonder if the guys that use emacs will really want to use another version of it running on the JVM. I get this feeling that most of them despise the JVM, and the guys who generally use JVM are eclipse/netbeans guys. Sure there will be some people that don't fit in this category. Though, it seems like the OP is trying to fix something that isn't broken. Anyways, it will be a great learning experience.

I don't think the relationship is that strong. Certainly there are people who feel that way, but there are also people who don't really care what the infrastructure is (C or Java) and just want a highly performant Emacs to work in.

I don't do any JDK-related work, but I'd try it and Clojure out just for fun. If things go well, I wouldn't hesitate to switch.

Re: Emacs under Clojure

#19

Just wanted to do a bit of cheerleading for this. Do not give up. I think this will be an awesome open source project and a great project for people who are learning Clojure and want a non web project outlet to actually build plugins for. Also I am sure that people will raise LightTable in this thread as it is written in Clojure and supports plugin development - but one size does not fit all.

I completely agree. And, who knows, maybe by being built in a more modern world, it will be easier to extend in ways that solve similar problems to LightTable.

Re: Emacs under Clojure

#20
post #11

Why not just write a similar editor, with same shortcuts, rewritten modules/modes etc, but with new architecture and paradigms?

I think this is something that light table is in a better position to pull off. It's new, doesn't have to worry about compatibility, and the worst case is you have to configure it with javascript (if I recall correctly) and not a lisp.

Whether or not it can, or even wants to, live up to that, is another matter entirely. But it'd be great if it does.

Post reply on HN