Closed rpglover64 closed 12 years ago
Can you give an example of a text file that would be served by smart-tabs?
https://gist.github.com/1377735
This came up as I was doing my homework and was trying to make sure to align the equal signs but indent the problems.
I guess it's not really a text-mode file, but I don't know of a better major mode for it.
Does Emacs align this sort of thing at all? This project is a refinement of & addition to Emacs’s already-existing auto-align. That means it needs a major mode that supports such.
I’m closing this issue for now.
Pressing tab aligns with the the first non-whitespace character, using as many tabs as possible and then spaces to fill out the rest.
Text mode does not seem to have a variable controlling tab width (tab-to-tab-stop is the closest I found), and I don't think that indent-relative is a suitable indent function.