From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72808: 30.0.90; editorconfig doesn't set tab_width to a default value Date: Sat, 07 Sep 2024 10:27:44 +0300 Message-ID: <86h6arzzwv.fsf@gnu.org> References: <87seusbbd9.fsf@cassou.me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26756"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72808@debbugs.gnu.org, jaygkamat@gmail.com, 8.slashes@gmail.com To: monnier@iro.umontreal.ca, Damien Cassou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 07 09:28:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1smprj-0006mG-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Sep 2024 09:28:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smprX-0001v5-Hv; Sat, 07 Sep 2024 03:28:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smprW-0001sG-4Y for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:28:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smprV-0006Nh-FO for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:28:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=i1hiIrrtakcW21csQMmrqI/qih9jq4MwEe9b2lXJqcM=; b=ubb1X2MHvkLDQQ8lSqtk5N7HWBbp92iiQfqwsTvgbPATaMi1lQyqOkIpwG69zjtlwLGuhSp53loKZtnqZ8hCVn2SDlVc2RYLO+gTHK0wl0wSrfJB4oZdaO+/czstd4Fzke9vO1V0XeTCf2Tt84fcWa5vssGQ1QIbLAiiTenaU5n6foPXw+CVlXvY36GdFBuEkUncfoSRlWENLTJ6zdrKyTSDxbtAlrh6B/1soj4U0IZAUppXWz7rbU8dKyi+1WfUkaBbnkCgWPQXuMRaX+RgYAF47/qldY6t3jaCwySNP/gbviSLivoz3RlvIvyyhIbVk1v2ZRv4HVu/j1ZW0XOFPw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smprV-0000tP-T6 for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2024 03:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Sep 2024 07:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72808 X-GNU-PR-Package: emacs Original-Received: via spool by 72808-submit@debbugs.gnu.org id=B72808.17256940763418 (code B ref 72808); Sat, 07 Sep 2024 07:28:01 +0000 Original-Received: (at 72808) by debbugs.gnu.org; 7 Sep 2024 07:27:56 +0000 Original-Received: from localhost ([127.0.0.1]:54681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smprP-0000t4-F1 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 03:27:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smprN-0000sp-FF for 72808@debbugs.gnu.org; Sat, 07 Sep 2024 03:27:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smprF-0006MR-MM; Sat, 07 Sep 2024 03:27:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=i1hiIrrtakcW21csQMmrqI/qih9jq4MwEe9b2lXJqcM=; b=o3GxpKBCNRZ+ Xwv6ID0FIUVrLyjEGoAM+8C9olu2p4Jeh7GwDBlZIaIRtjiWxxFJKLR3ZAnfPAWp+1GZwuA8nfbMU s9xPPW3vt+XJ78rz0qjWqLPoFHm3R9ISF5ETmmAc4TJojRcLRmYoVGJKjxBKvcWlZIHUW0RLRndH7 FDaYedgVZn3KDU7WKXtiu/kdQiIu+SSxYm5SDn8+i6L/ksktSujXNoZE2ouXZHpF0ty4UrMpMWT7J 6ngZ+kh6q0BI5CjcgWqjWrr9i/j0Sls5mq1sXhQFc3VwbOGsRSjRnpYBGTqmuQLsXmxTuTE8DbIlv J6wT4+eyh6MREedYEWevPg==; In-Reply-To: <87seusbbd9.fsf@cassou.me> (message from Damien Cassou on Sun, 25 Aug 2024 22:23:14 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291355 Archived-At: > Cc: 72808@debbugs.gnu.org, jaygkamat@gmail.com, 8.slashes@gmail.com > From: Damien Cassou > Date: Sun, 25 Aug 2024 22:23:14 +0200 > > Hi Stefan, > > Stefan Monnier writes: > >> when a .editorconfig file assigns a value for "indent_size" and no > >> value for "tab_width", I expect "tab_width" to default to the value of > >> "indent_size" as described in the documentation [1]. Unfortunately, > > > > Yes, I consciously disagreed with the standard here. IMO, this better > > reflects Emacs's habitual behavior, so it makes more sense for Emacs users. > > > > Indeed, you can already get the "missing" behavior by setting > > `indent_size` to `tab` and then setting `tab_width` to the desired > > indentation size. > > The problem is that the .editorconfig file can be shared across users of > different editors for a given project. Emacs disagreeing with the > standard means that Emacs users will now have to explain to their > colleagues why they are introducing a change in a .editorconfig file > that the standard says is unnecessary. This is putting me, at least, in > an uncomfortable position with non-Emacs users in my team. Additionally, > if other editors disagree with the standard for other reasons, we may > quickly reach a situation where no content of .editorconfig will suit > everyone. Stefan, any further comments, or should we close this as wontfix?