8000 GitHub - ramnes/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.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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.

Notifications You must be signed in to change notification settings

ramnes/dtrt-indent

 
 

Repository files navigation

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.

You can install dtrt-indent from MELPA.

To activate it, M-x customize-variable dtrt-indent-global-mode, and turn on "Dtrt Indent Global Mode". See dtrt-indent.el for full documentation.

Related work

guess-style is similar to dtrt-indent, but only supports cc-mode, and only guesses offsets of 2, 4 and 8.

vim-sleuth provides similar functionality for Vim.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%
0