[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20322: 25.0.50; indent-tabs-mode should default to nil
From: |
Stefan Monnier |
Subject: |
bug#20322: 25.0.50; indent-tabs-mode should default to nil |
Date: |
Mon, 20 Apr 2015 15:26:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Doing this for the rest of the January would take a few more days, and I'm
> not sure if that's really valuable, considering the above.
> C: tabs => 1241263, spaces => 636266
> C++: tabs => 466087, spaces => 926052
> JS: tabs => 8430336, spaces => 11739058
> Java: tabs => 7620803, spaces => 1509610
> Elisp: tabs => 150071, spaces => 185015
Ah, so the units are lines? Indeed, then this can be strongly biased if
people use smaller tab-width than 8.
It seems it would make more sense to count files (or projects), where
each file gets to be counted either as SPC or as TAB depending on
whether it has more lines that use TAB than lines that use either spaces.
This way, the bias only affects a file at a time, which should be
insignificant if we assume that those files should use a consistent
style (i.e. either 99% TABs or 99% SPC).
Stefan
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, (continued)
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Eli Zaretskii, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Eli Zaretskii, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Stefan Monnier, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Stefan Monnier, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/14
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Stefan Monnier, 2015/04/15
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/20
- bug#20322: 25.0.50; indent-tabs-mode should default to nil,
Stefan Monnier <=
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/20
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Stefan Monnier, 2015/04/20
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/21
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Eli Zaretskii, 2015/04/21
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/22
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Eli Zaretskii, 2015/04/22
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/22
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Eli Zaretskii, 2015/04/22
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Dmitry Gutov, 2015/04/22
- bug#20322: 25.0.50; indent-tabs-mode should default to nil, Stefan Monnier, 2015/04/21