AUCTeX is an extensible package for writing and formatting TeX files in Emacs and XEmacs.
It also supports the self-documenting .dtx format from the LaTeX project and, to a limited extent, ConTeXt and plain TeX.
Lars Peter Fischer wrote the first functions to insert font macros and Danish characters back in 1986.
Per Abrahamsen wrote the functions to insert environments and sections, and to indent the text, as well as the outline minor mode in 1987.
Kresten Krab Thorup wrote the buffer handling and debugging functions, the macro completion, and much more, including much improved indentation and text formatting functions, and made the first public release of AUCTeX in 1991.