Emacs under Clojure
github.com
github.com
There are two parts to this. First, pure learning and fun - even if it goes nowhere. Second, "Extensible" is the keyword here. The goal is to find the right balance between backwards compatibility (Emacs Lisp) and forward extensibility (Clojure / JVM), so I'm not interested in writing a new text editor from scratch.
I did consider Kickstarter (currently self funded), but felt I needed something running first.
I will be watching this project closely.
Because new extensions can then be written in Clojure (or other JVM languages) against the same core API (with shared concepts like "buffer" and "window").
Now the line of what's core and what's extension can be blurred, and while keeping backwards compatibility, one can evolve the entire architecture in Clojure, free from the constraints of the old Emacs code base.
But, easier said than done!
I have shake-n-bake modules for virtually any language or use-case you could want.
https://github.com/bitemyapp/dotfiles/tree/master/.emacs.d
If you have any requests, I can probably bake it up. Included is the awesome Ensime package for Scala and Shime (Slime) a repl for Haskell. See the link to poke around for other things.
I recently restructured my dotfiles, but I once used my git repo to teach people at a Clojure meetup in SF how to get rolling with Emacs + Slime + Swank + Clojure.
Yes, I'm serious.
I actually had a quick look at this, and Kickstarter funding is for US residents only. Indiegogo seems like an alternative (guess there are a lot of opinions on what crowd funding platform to use).
Also, I'm not sure what "rewards" I could give, "listed as a contributor, in a file hidden deep in my git repo"?
Anyway, more code first, then maybe revisit this!
The only ports that are going to actually get emacs users are ones that can eval elisp.
However, good luck with this! It's like Yi.. could turn out great, or could turn out to just be a neat small project :)
[1]: http://www.google-melange.com/gsoc/proposal/review/google/gs...
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 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.
I do like this guy's goal of making Emacs 24 the target and shedding akk the baggage of the earlier versions.
Besides, getting up to speed on someone else's madness is not worth it most of the time.
It would be nice, though, to see both!
By the way. Porting the C part is one thing but what to do about all the emacs lisp packages? a compat mode?
tldr; Theoretically it should just work. There are some tricky bits.
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.
I mean, if the Eclipse project started today, you could say similar things about it. I am sure there exist emacs users who moved to Eclipse. But...