Hacker News new | ask | show | jobs
by swah 5892 days 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...

2 comments

No, 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.

Useless 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...

I 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?
has anyone got more information about this? I recently started using js2mode, its awesome but has way too many bugs.