ATS Mode for Emacs
Download ats-mode.el from Sourceforge SVN trunk.
Installation
Make a directory ~/emacs and copy ats-mode.el
to that directory. Then add (load
"~/emacs/ats-mode.el") to your ~/.emacs file.
(Obviously you can change the paths if you want)
Emacs 21, XEmacs, and Emacs 22 should be supported. But I mostly
test on Emacs 22.
Features
- Basic Syntax Highlighting of keywords.
- Simple Indentation with 2-space tab-stops.
- Standard Compilation mode support: C-c C-c
invokes the typechecker (by default) on your code, and you can
jump to the next error with C-x ` just like with some
other modes. In Emacs 22, it will also highlight the error
according to the customizable variable
next-error-highlight.
- Newcomment support: M-; will insert a
comment, or (un)comment marked code.