Description

espresso-mode is a Javascript-mode for GNU Emacs.
Espresso has been incorporated into GNU Emacs starting with version 23.2 and has been renamed js-mode. espresso-mode will no longer be maintained outside of Emacs proper. This page has been kept only for historical interest.

Its features include:

Installation

Download espresso.el and put it somewhere in your load-path. Then add the following to your .emacs:
      (autoload #'espresso-mode "espresso" "Start espresso-mode" t)
      (add-to-list 'auto-mode-alist '("\\.js$" . espresso-mode))
      (add-to-list 'auto-mode-alist '("\\.json$" . espresso-mode))

For integration into Mozilla, you'll need to install MozRepl, and put moz.el somewhere in your load-path. If you're running Emacs 22, you'll also need json.el.

Important: For best performance, espresso.el must be byte-compiled. Use M-x byte-compile-file to compile espresso.el.

Also, you can also always try the SVN HEAD version of espresso.el.

History

Version 9: 2009-07-25
Version 8: 2009-05-26
Version 7: 2009-05-22
Version 5: 2009-04-24
espresso-mode began as a fork of Karl Landstrom's javascript-mode.

Additional information and bug reports

Please see the espresso-mode Savannah project page for additional information and support.