4 ms·
js.el is a new major mode for JavaScript files. I think js2.el (Steve Yegge) was combined with javascript.el to make a new mode. Might be interesting...
by swah 17y ago
js.el is a new major mode for JavaScript files.
I think js2.el (Steve Yegge) was combined with javascript.el to make a new mode. Might be interesting...
- daleharvey 17y agohas anyone got more information about this? I recently started using js2mode, its awesome but has way too many bugs.
- jrockway 17y agoNo, it's espresso, not js2. But don't worry, that was the only sane Javascript mode; js2 is like its own program, completely independent of Emacs. Cool, but useless for real work. espresso/js actually works like Emacs, and it doesn't try to treat Javascript as a dialect of C anymore.
- swah 17y agoUseless for real work? I never saw negative comments from js2 users... I remember it was similar to nXML in having its own parser... do you think nXML is badly engineered or useless too ? I wrote a mode inspired by your Stylish for Lua one day. I wish there were more editors that would let you do that kind of thing...
- sjs 17y agoI love js2-mode and only use espresso-mode for JSON. Do you know of any comparison of the two modes I could read to get more info on this?