From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70105: 30.0.50; Emacs should support EditorConfig out of the box Date: Tue, 18 Jun 2024 16:07:15 -0400 Message-ID: References: <867chibhqi.fsf@gnu.org> <86frtnd2e6.fsf@gnu.org> <87bk3yai02.fsf@localhost> <87y172ql15.fsf@localhost> <87jzimqb4c.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13232"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: jcs090218@gmail.com, bjorn.bidar@thaodan.de, Eli Zaretskii , 8slashes+git@gmail.com, 70105@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 18 22:08:24 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 1sJf7v-0003C2-Hq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jun 2024 22:08:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJf7Y-0000X0-Vo; Tue, 18 Jun 2024 16:08:01 -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 1sJf7X-0000WZ-HB for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 16:07:59 -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 1sJf7X-0008HQ-8V for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 16:07:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJf7Z-0007WV-Py for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 16:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2024 20:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70105 X-GNU-PR-Package: emacs Original-Received: via spool by 70105-submit@debbugs.gnu.org id=B70105.171874125328865 (code B ref 70105); Tue, 18 Jun 2024 20:08:01 +0000 Original-Received: (at 70105) by debbugs.gnu.org; 18 Jun 2024 20:07:33 +0000 Original-Received: from localhost ([127.0.0.1]:50541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJf77-0007VV-38 for submit@debbugs.gnu.org; Tue, 18 Jun 2024 16:07:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJf75-0007VE-Nc for 70105@debbugs.gnu.org; Tue, 18 Jun 2024 16:07:32 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 80B92809AC; Tue, 18 Jun 2024 16:07:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1718741242; bh=D62XWf5DjMthgkQOdje1mRDjW5VuNROmzRwUuXAuKig=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Y+5CB66qkP/PLhbdsKywgxyCllqGUZKle1J2QR73R6MD+vMDYq8nUW0YQHRVsRD9C MsxvN+7AO5Um3rdehMfxpHpmnFTa7XiQx1Pa0BkEgqQtV2e6AV5SJfNt0tcrupaRaD nJ0iDpkEbUHyM6NKdyqtuLMgciZ994eDbl4So4X+RK1y/CCu3BB0/EOzIqZx36ZvN+ MNM861cmlXd5lqGvyZnJ11720ehfISN8qqhcFB5YlzttHfyfKwG/QaTDT4lF+7772X VCk2UhMQPQP+X3PkxJ1V6cHGh6fjPNA7XWE7JIwtqbKrrQH4En1llIsEONLpBq/eW9 KjprhFLN/sitw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5538E80882; Tue, 18 Jun 2024 16:07:22 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 422881204EE; Tue, 18 Jun 2024 16:07:22 -0400 (EDT) In-Reply-To: <87jzimqb4c.fsf@localhost> (Ihor Radchenko's message of "Tue, 18 Jun 2024 19:55:31 +0000") 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:287456 Archived-At: >>> (I also considered let-binding `tab-width' when Org parser the file, but >>> lists will then look funny visually) >> If you use the `tab-width` set by the user then you have the advantage >> that you parse the code in a way that is consistent with what the users >> see (so the problem only bites the users who don't look at their code). > Indeed, but what if an Org file comes from another user, with different > tab-width? Parsing it differently is simply wrong. Exactly: there's no way to win in all cases. Which is why I think it's important to see the real cases so we can have a better idea of the origin of the problem and how best to mitigate it. Stefan