There are a couple JavaScript modes out there:
- js2-mode by Steve Yegge
- javascript.el by Karl Landström.
- espresso?
- Something else?
Does anyone have a recommendation on which to use?
There are a couple JavaScript modes out there:
Does anyone have a recommendation on which to use?
There's also espresso-mode.
A note from the espresso-mode homepage:
Espresso has been incorporated into GNU Emacs starting with version 23.2 and has been renamed js-mode.
I use js2-mode for JavaScript authoring, and it's excellent. It's not ideal for JavaScript-like languages, though (ActionScript), so it's good to have a simple mode around as a backup for those cases.