Differences between version 2 and previous revision of TabStops.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Sunday, November 2, 2003 10:37:22 pm | by PerryLorier | Revert |
Older page: | version 1 | Last edited on Sunday, November 2, 2003 10:36:52 pm | by PerryLorier | Revert |
@@ -5,10 +5,10 @@
Why? Because while 8 charactors is stupidly wide, at least it's a standard. There is absolutely nothing worse than opening a file and having it look like it was formatted by a two year old chimpanzee on crack.
!But vim/emacs support mode lines so you can see which tab width you use!
Except that
-A)
they don't agree on the syntax, so you need two sets of modelines, one for each application
-B)
grep/patch/diff/sed/lpr/less don't read modelines.
+#
they don't agree on the syntax, so you need two sets of modelines, one for each application
+#
grep/patch/diff/sed/lpr/less don't read modelines.
!You can run things through a preprocessor to convert tabs to the correct number of spaces!
if I "convert" a diff, then it's not going to apply as a proper patch anymore. If I expandtabs on a Makefile then suddenly it's got a "missing delimiter". If I expandtabs on sendmail.cf my mail is no longer delivered.