A minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files.
Emacs Lisp
Switch branches/tags
Nothing to show
Latest commit 7fd55af Oct 1, 2017 @rrthomas rrthomas Merge pull request #32 from dhull/erlang-fixes
Fixes for Erlang indentation detection

README.md

dtrt-indent

An Emacs minor mode that guesses the indentation offset originally used for creating source code files and transparently adjusts the corresponding settings in Emacs, making it more convenient to edit foreign files.

See dtrt-indent.el for full documentation, including installation instructions.