louabill / ado-mode

Major mode for editing Stata files in Emacs
GNU General Public License v3.0
17 stars 6 forks source link

The ado-mode for Emacs

The ado-mode is a major [editing] mode for Emacs which allows truly good editing of Stata, namely do, ado, sthlp, smcl, and mata files. Here is a screenshot to see what the highlighting does. The mode also handles indentation, date stamps, and includes templates for writing help files, project do-files and the like.

Emacs versions down to 24.3 are supported.

Here is the change log which says what is new.

The current version is 1.18.5.0, which is made for Stata 18.5 (aka StataNow). It works just fine with earlier versions of Stata, but it will highlight commands as though you were using Stata 18.5.

Here are the things which make life easier when using the ado-mode. Features include

ado-mode can be downloaded via Melpa. It's been accepted as a Melpa project, but the whole Melpa autoupdate thing throws me for a loop. So...

Manual installation is also possible, but takes more work. Take a look at the INSTALL.md file.

External Tools Needed for MS Windows and *nix:

Please let me know if there are any troubles with the installations, since there are little quirks with cross-platform Emacs stuff.

ado-mode is on the disaster now know as X: @ado-mode. The real reason for this is to have an easy RSS feed for finding out about updates: https://twitter.com/adomode