[Top][All Lists]

[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: Dmitry Gutov
Subject: bug#20322: 25.0.50; indent-tabs-mode should default to nil
Date: Wed, 22 Apr 2015 18:49:41 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0

On 04/22/2015 06:28 PM, Eli Zaretskii wrote:

I thought it was obvious: Changing the whitespace usage is not a
simple job, and no one will normally do that.

What I'm suggesting is that such a project would add an entry to dir-locals, to solidify its current conventions. They've probably done it already:

So having different
defaults will silently and subtly cause a change in project-wide
conventions, something that I think is undesirable.

Sneaky changes are not only caused by changed defaults. Some members of the team might have different tabs-indent-mode values set up in their configs. The only way to guard against that is to do the above anyway.

In short, these two languages are just too similar and inter-related
to justify using the same defaults in this regard.

Well, like mentioned before, exceptions add complexity. So it's not like I really disagree.

reply via email to

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