dtrt-indent

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. (by jscheid)

Dtrt-indent Alternatives

Similar projects and alternatives to dtrt-indent

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dtrt-indent alternative or higher similarity.

dtrt-indent reviews and mentions

Posts with mentions or reviews of dtrt-indent. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-29.
  • Emacs 29 is nigh What can we expect?
    31 projects | news.ycombinator.com | 29 Nov 2022
    For #2, I've been pretty happy with dtrt-indent (https://github.com/jscheid/dtrt-indent) for DWIM indentation bouncing between projects.

    I have yet to try apheleia, but I wouldn't be surprised if just enabling apheleia, dtrt-indent, and editorconfig-mode (https://github.com/editorconfig/editorconfig-emacs) in prog-mode-hook just did what you wanted.

  • How to un-indent
    1 project | /r/emacs | 27 Jun 2021
    I have a package (github) that detects the indentation offset and updates the tab-width variable in emacs. Does anyone have a package/function that can use this variable to indent/dedent single or multiple lines?

Stats

Basic dtrt-indent repo stats
2
175
6.7
3 months ago

The primary programming language of dtrt-indent is Emacs Lisp.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com