views:

324

answers:

4

Which javascript major modes exist in Emacs, and what are their key-features ?

+10  A: 

http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascript-mode-for-emacs.html

With some documentation.

alamar
I'm currently using js2, and very pleased so far.
Matthew Flaschen
+2  A: 

I use Steve Yegge's js2-mode, and like it a lot. It's quite configurable, its indentation ideas match mine, and most impressively it has a full JavaScript parser in it, so it can alert me to syntax errors as I type (indispensable for little things like trailing commas in property lists that bork IE).

Carl Meyer
+1  A: 

Espresso mode is supposed to be quite good as well.

Jonathan Arkell
Thanks for mentioning it !
subtenante