1 |
>>>>> On Sun, 14 Apr 2013, Ciaran McCreesh wrote: |
2 |
|
3 |
> On Sun, 14 Apr 2013 23:22:04 +0200 |
4 |
> Pacho Ramos <pacho@g.o> wrote: |
5 |
>> It stated a tab represents 4 spaces. Where does this rule come from? |
6 |
>> Why 8 spaces wasn't chosen instead? I say that because looks like 8 |
7 |
>> spaces equivalence is used by tools like "cat", "less", even CVS |
8 |
>> reports in gentoo-commits show tabs as 8 spaces instead of 4. |
9 |
|
10 |
> Hysterical raisins. Unfortunately drobbins mandated it that way early |
11 |
> on, because he didn't use a proper text editor. |
12 |
|
13 |
AFAIK, there's no standard that specifies the positions of tab stops, |
14 |
so multiples of 4 are as good as anything else. Different text editors |
15 |
have different defaults (Emacs uses multiples of 8, but it's easy to |
16 |
change). |
17 |
|
18 |
Of course, once you have a convention that is widely followed, it's |
19 |
wise not to change it ... |
20 |
|
21 |
Ulrich |