Learning Scheme in Emacs
languageagnostic.blogspot.com
languageagnostic.blogspot.com
No. Just...no.
The lexical scope doesn't make sense for the kind of scripting done in Emacs and having a unified language (unlike vim with many people bolting their preferred language onto it) for the most part is a huge boon.
90% of the people I see rooting for this don't actually write anything for Emacs.
Elisp may not be the best at everything but as an editor scripting language it's quite great.
* higher speed
* native threads
* lexical scope
* ffi
* module system
* goops, guiles object system
Emacs is a key GNU project, but to the detriment of the overall project philosophy, it uses an extension language no other GNU project uses and never will use. Elisp may be working for emacs, but it is isolating it from all other apps, since nobody else uses Elisp. The long term goal of GNU is to "emacsify" the whole system, i.e. to enable emacs and other apps to talk to each other over guile es their universal scripting interface.
It's. Not. Worth. It.
You people don't even listen when we try to explain that lexical scope is unnecessary and potentially even a bad idea.
Threads? Come on. :\
I'm not "you people", I'm not affiliated with Guile in any way. However, you are wrecking your brains over something without being fully informed. It is not and never has been intended to _rewrite_ anywthing written in Elisp. Thats why Elisp itself has been to a large part already rewritten in Guile, and it is planned to gut emacs and replace the current C-Elisp engine with the new Guile-Elisp engine. Whether this will or will not work out as intended is a completely different story. But the fact remains that Elisp, in the grand scheme of things, is an isolated island, and as such does not fit into the overall design goals of GNU stated over 20 yrs ago, so there are people working on this. Even Google sponsored two GSoC projects for two years to rewrite Elisp in Scheme.
See:
* http://wingolog.org/archives/2009/01/07/a-brief-history-of-g...
* http://wingolog.org/archives/2010/04/02/recent-developments-...
* http://wingolog.org/archives/2011/08/30/the-gnu-extension-la...
http://www.gnu.org/software/emacs/emacs-paper.html#SEC17
The docs and the man himself say it best.
[1] http://www.gnu.org/s/guile/ [2] https://savannah.nongnu.org/projects/geiser/ [3] http://www.neilvandyke.org/sicp-texi/