[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] Macro _prohibit_regexp replaced by _sc_search_regep and

From: Jose E . Marchesi
Subject: Re: [PATCH 3/3] Macro _prohibit_regexp replaced by _sc_search_regep and rules adapted to use the new macro.
Date: Wed, 31 Mar 2010 22:43:09 +0200 (CEST)

    It may also be a factor of tabs vs. spaces.  Since3 you used tabs,
    but the diff indents your line by one space, then lines that had a
    single-width leading tab after the last non-whitespace all the
    sudden appear off by 7, compared to all leading multi-width tabs
    which merely get represented with one less tab.  So what looks
    aligned in the editor ends up looking weird in the diff.  Always
    using spaces resolves the problems (everything is uniformly
    shifted right by one column).

Yes, that explain it: the shifted lines are featuring a single space
width tab character after the last non-white character.  The space
added by diff is completing the tab width and it "jumps" to the next

Interesting.. this is something I will keep in mind for the future :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]