From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20322: 25.0.50; indent-tabs-mode should default to nil Date: Tue, 14 Apr 2015 18:48:30 +0300 Message-ID: <552D36CE.6040105@yandex.ru> References: <861tjn3069.fsf@yandex.ru> <83618ydcav.fsf@gnu.org> <552D26D1.2040305@yandex.ru> <83lhhubudm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1429026565 16062 80.91.229.3 (14 Apr 2015 15:49:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2015 15:49:25 +0000 (UTC) Cc: 20322@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 17:49:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yi35O-0007ZJ-V3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 17:49:15 +0200 Original-Received: from localhost ([::1]:56629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi35O-0008IA-FC for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 11:49:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi35H-0008Ht-Pd for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:49:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yi35C-0005cp-Na for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:49:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yi35C-0005cg-KZ for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yi35C-0004DU-7i for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2015 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Apr 2015 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20322-submit@debbugs.gnu.org id=B20322.142902652116182 (code B ref 20322); Tue, 14 Apr 2015 15:49:02 +0000 Original-Received: (at 20322) by debbugs.gnu.org; 14 Apr 2015 15:48:41 +0000 Original-Received: from localhost ([127.0.0.1]:56373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yi34r-0004Cw-GL for submit@debbugs.gnu.org; Tue, 14 Apr 2015 11:48:41 -0400 Original-Received: from mail-wi0-f178.google.com ([209.85.212.178]:36656) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yi34p-0004Cj-Bp for 20322@debbugs.gnu.org; Tue, 14 Apr 2015 11:48:39 -0400 Original-Received: by wizk4 with SMTP id k4so119305314wiz.1 for <20322@debbugs.gnu.org>; Tue, 14 Apr 2015 08:48:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=iQCp628CjcMLDKrBi0h5SRRrroSrRGFZpM5GJh0Gjkw=; b=EUFa9fMaZQaxMFwdhWVXV5x+iZ7n7E/Lmp+lCPkOFFkSmFvQbTI3ODGzni3FRoIDyZ 0lzTWOrQmIbUh5+Dznwtiu8omHZxsm9SxFHwJUM5B0R9w7CPbzx/W1UmwzY3vq2nY/ep RQOwuKlgxU36runo88ytwWmIulvhuISLI1MWrYGiZGXxGL/8SV9AeBKPRLKVX6YdN2gF EcxX7LPwlvVdbRlgUThi3PNwoII1q7IOQbJW8F+GelgR6HeE79xdNtPr34tuNqKwlxLV Rb+Qz7nxb+0VWMmWSpdOxWl3rjmIRYVB5BUwuCmkdY5uVbK2hHUMmfiXil9epLRppDXl 90TQ== X-Received: by 10.194.142.232 with SMTP id rz8mr22792331wjb.78.1429026513624; Tue, 14 Apr 2015 08:48:33 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id kc4sm2121140wjc.2.2015.04.14.08.48.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 08:48:33 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 In-Reply-To: <83lhhubudm.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101519 Archived-At: On 04/14/2015 06:29 PM, Eli Zaretskii wrote: > But it's simply _wrong_ to configure everything in one place, because > different modes have different conventions. Configuring everything in one place is easy and nice, as long as that's what you want to do (and setting indent-tabs-mode for most modes is something that a lot of people would prefer). As long as you can override it for different modes (e.g. in hooks), there's no downside. >> Maybe, but my point is that going by this logic most major modes would >> need to set it to nil. > > I don't understand why. Can you explain? Because spaces are more popular than tabs, in most language communities? > If you only change that in modes which really need that, this problem > won't exist, because, as you yourself said, everybody already > customized these modes to use that value. Yes, and that's not what I'm talking about. JavaScript (or Ruby, or Python) don't _really_ need that. They can work with tabs, but most users would want to disable tabs in indentation anyway, for cultural, personal or organizational reasons.