[Top][All Lists]

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

Re: tabs vs. spaces in source code

From: Hans Aberg
Subject: Re: tabs vs. spaces in source code
Date: Sat, 25 Jul 2009 19:56:04 +0200

On 25 Jul 2009, at 19:39, Patrick McCarty wrote:

One thing you could do right now, without awaiting approval, is to
check for lines that have tabs *after* spaces at the beginning.  These
should be converted to tabs *followed* by spaces.

This is not correct, as if tabs are set to 8 spaces, 2 spaces followed by a tab is position 8, whereas a tab followed by two spaces is position 10. Unless you meant that in such cases, the unneeded spaces should be removed.

You may have to de-tab as you have time to check that the result looks good in an editor.


reply via email to

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