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.
Here's another PR which moves dtrt-indent to using the standard modeline lighter instead of its custom behavior. This makes it play nicer with modeline management packages like diminish. Worth mentioning that this change is breaking (people who customized dtrt-indent-active-mode-line-info will lose that functionality).
Here's another PR which moves dtrt-indent to using the standard modeline lighter instead of its custom behavior. This makes it play nicer with modeline management packages like diminish. Worth mentioning that this change is breaking (people who customized dtrt-indent-active-mode-line-info will lose that functionality).