Hello,
I have found difficult to figure out how to make indent to use tabs.
I have found a nice description on a forum:
http://osdir.com/ml/gnu.utils/2007-05/msg00017.html
I have also made a modest patch, so feel free to do whatever with it,
but I would like to have information like this in the documentation.
Regards,
Matěj Týč
--- indent.texinfo 2008-03-11 19:50:42.000000000 +0100
+++ indent.texinfo 2010-05-11 00:15:40.000000000 +0200
@@ -1762,6 +1762,14 @@
@item -...@var{n}
@itemx --indent-le...@var{n}
Set indentation level to @var{n} spac...@*
+
+In case that you would like the code to be indented using tabs an not spaces, make sure that you do the following
+...@itemize
+ @item Don't use the @option{-nut} option that bans the usage of tab
+ @item Use the @option{-i8} option (8 is the default tab width)
+...@end itemize
+Those spaces will get collapsed to tabs.
+
@xref{Indentation}.
@item -...@var{n}
_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent