Emacs Speaks NONMEM
Emacs Speaks NONMEM(R) is an Emacs extension that makes editing NONMEM control streams easier. Among other things, Emacs Speak NONMEM supports:
- Code Highlighting
 - Automatic Capitalization
 - Count number of input items
 - Count number of output items & Spit into multiple files if necessary
 - Display of 80 characters on line, and also automatic alignment and "wrapping" of records
 - Extended Control Stream Support
 - Tab Completion
 - Updating table names on copy or save-as
 - Ensuring a different purpose for each copy of the file.
 
Emacs Speaks NONMEM also integrates with the following programs:
- Census
 - NMQual (submitting jobs only)
 - PLT Tools
 - Perl Speaks NONMEM (psn)
 - Pirana
 - Wings for NONMEM
 - Xpose
 
You could download the package, and install by hand, or use EmacsPortable to install.
