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#70105: 30.0.50; Emacs should support EditorConfig out of the box Date: Wed, 19 Jun 2024 18:57:43 +0300 Message-ID: <861q4torgo.fsf@gnu.org> References: <867chibhqi.fsf@gnu.org> <86frtnd2e6.fsf@gnu.org> <878qz19bgi.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jcs090218@gmail.com, bjorn.bidar@thaodan.de, 8slashes+git@gmail.com, 70105@debbugs.gnu.org, monnier@iro.umontreal.ca To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 19 17:58:27 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 1sJxhZ-00095e-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 17:58:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJxhA-000513-RX; Wed, 19 Jun 2024 11:58:00 -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 1sJxh9-00050s-D1 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:57: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 1sJxh8-0003Dj-Ty for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:57:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJxhB-0005u7-RL for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:58: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: Wed, 19 Jun 2024 15:58: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.171881267922686 (code B ref 70105); Wed, 19 Jun 2024 15:58:01 +0000 Original-Received: (at 70105) by debbugs.gnu.org; 19 Jun 2024 15:57:59 +0000 Original-Received: from localhost ([127.0.0.1]:49507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJxh8-0005tq-LZ for submit@debbugs.gnu.org; Wed, 19 Jun 2024 11:57:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJxh7-0005tU-9b for 70105@debbugs.gnu.org; Wed, 19 Jun 2024 11:57:57 -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 1sJxgx-0003CF-3a; Wed, 19 Jun 2024 11:57:47 -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=Vs/wXPq9dAJS2K0tEmN9e6g1AQgDxwsV3RFo59qnBZQ=; b=qdDHfPbvGNGS 352JbNfWQYrz6nejti144SEhW+3JVcyuJ11I5/NcE/erw7WmRA2k1IK2d+1NmRow5lNDtYv77BzqH M8HrqVySHw4SJCkquz0uV0ITZ08vCGTKdzObXA2Dsa8a/MEeL3uR4EdHbwaK9TrzcACemURaB1qun 2FbE4yzSeKuuryYyyu2YjKP8J75lFFJBG9DX76/RucnsscGfPcZV1HNeDL3a2x3TiFLU0YjcOZzWP Qh77J1q7+nrlEYQD8UGZdJy5DIuIuiyOyUYsvm+IoGgoQj4WzZNOp/FXErsP/pzurLGAkGt+Xm9d0 Rbw5ZuWBD9qa5MwuEIUihw==; In-Reply-To: <878qz19bgi.fsf@localhost> (message from Ihor Radchenko on Wed, 19 Jun 2024 15:52:29 +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:287493 Archived-At: > From: Ihor Radchenko > Cc: Eli Zaretskii , jcs090218@gmail.com, > bjorn.bidar@thaodan.de, 8slashes+git@gmail.com, 70105@debbugs.gnu.org > Date: Wed, 19 Jun 2024 15:52:29 +0000 > > Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > > > +The @code{indent_size} setting of the EditorConfig standard does not > > +correspond to a fixed variable in Emacs, but instead needs to set > > +different variables depending on the major mode. Ideally all major > > +modes should set the corresponding @code{editorconfig-indent-size-vars}, > > +but if you use a major mode in which @code{indent_size} does not take > > +effect because the major mode does not yet support it, you can customize > > +the @code{editorconfig-indentation-alist} variable to tell Emacs which > > +variables need to be set in that major mode. > > Reading this as a major mode maintainer, I have not the slightest clue > about EditorConfig standard. So, I have no idea what indent_size is all > about and what I am supposed to do with it. This is from the Emacs user manual, not from the ELisp reference manual. So the intended audience is users, and in particular those who have .editorconfig files and thus already know about indent_size. Guidance and recommendations for mode developers are of course also needed, but they will go into the other manual, and (AFIU) we don't yet fully know what to write there, because this is still a moving target. When we figure that out, it would be good to document the conventions and recommended practices. But we are not there yet.