>Either the file you are editing is broken (in which case your own style
>guide would not help you either. Obviously, whoever created and
>maintained it did not heed it) or tabs will work perfectly if used as
>intended.
>No one is stopping you from using a width of 8. The thing we object
>to is that you are forcing _everyone else_ to use _your_ style. Sorry
>to say so, but this makes you part of the problem the rest of us is
>facing.

Agreed again.  And if tabs "messing up" trailing comments is a huge
issue, then don't have trailing comments.  Instead of

        ptr += sizeof( foo );   // skip past header

use

        // skip past header
        ptr += sizeof( foo );

and be done with it.

I tend to do that for whole blocks vs individual lines, but hey, if
someone's so traumatised by different tabstops messing up alignment of
comments, the above's an easy fix...

But seriously, if someone uses some weird-ass indentation level like
ts=5 or whatnot, the *first* thing I do after "inheriting" the code is
either play games with ts=## and et/noet and try to get rid of it all
"cleanly", else do a global s&r for spaces and tabify 'em all, then
worry about stragglers and trailing comments later on.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to