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 08:56:32 -0400 Message-ID: References: <867chibhqi.fsf@gnu.org> <86frtnd2e6.fsf@gnu.org> 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="36765"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: jcs090218@gmail.com, Eli Zaretskii , 8slashes+git@gmail.com, 70105@debbugs.gnu.org To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 18 14:57: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 1sJYOo-0009GC-O5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jun 2024 14:57:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJYOT-0007p0-3R; Tue, 18 Jun 2024 08:57: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 1sJYOR-0007mH-Kg for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 08:56: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 1sJYOR-0007Qt-Cs for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 08:56:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJYOT-0002DC-TX for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 08:57: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 12:57: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.17187154078480 (code B ref 70105); Tue, 18 Jun 2024 12:57:01 +0000 Original-Received: (at 70105) by debbugs.gnu.org; 18 Jun 2024 12:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:42212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJYOF-0002Ci-AK for submit@debbugs.gnu.org; Tue, 18 Jun 2024 08:56:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:34202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJYOD-0002CU-0w for 70105@debbugs.gnu.org; Tue, 18 Jun 2024 08:56:46 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CCE1580974; Tue, 18 Jun 2024 08:56:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1718715393; bh=0I7xN3brqTGcpZmOH4m5GHNZ58oLivs9NhqGinXzBgY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=e6+Uz4hPcAkZ8QH3m9wL7hN7RyKsRrBFAGSDD4XuavYPu62xQRZwAXyKpgYmaBYFL 7IsoVvkbxbQ6SqozoD/ozkWSSXd5u37XHDAHewndU6WWeo+yV32g8Av8aRn0+8RlOe +08y9kIvszSQte7AwLloh+oTh6/Vg3ltKK3ZK4tbxVHOHGdkt8HOAdMxRXgkf+Iw28 PCImB4ToOOLfE3VrjwCQnYEBxcvuBPv/uN+hOdaanDYfvqHPyVJ5UCIKv5jnBrHCxn evrIC0e54QId3TKMbh2ddO706lElpaa9UBIiliDWAvkXsyjWNO/e7lqoTJ0bGRQGSK vMfzJry1MBDNA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B7BBA8004C; Tue, 18 Jun 2024 08:56:33 -0400 (EDT) Original-Received: from pastel (unknown [24.140.236.196]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8221F12068E; Tue, 18 Jun 2024 08:56:33 -0400 (EDT) In-Reply-To: <87v826hb13.fsf@> ("=?UTF-8?Q?Bj=C3=B6rn?= Bidar"'s message of "Tue, 18 Jun 2024 12:10:00 +0300") 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:287436 Archived-At: >> OK, here's the other part. >> >> I pushed to the branch `scratch/emacs-editorconfig` a bunch of patches >> which add a few `lisp/editorconfig*.el` files. >> >> The main effect is to define a new (global) minor mode >> `editorconfig-mode` (I assumed we'll keep it disabled by default in >> Emacs-30, but I think it would make sense to enable by default in >> Emacs-31 (i.e. on `master` after the branch is cut)) as well as a new >> major mode `editorconfig-conf-mode` to edit `.editorconfig` files. >> >> I'm still working on the actual metadata of that branch, as well as >> etc/NEWS and doc, but in the mean time maybe you could look at the code to >> see if you have any objections there. >> >> Stefan > > Should your work complement/have a migration path from the upstream > editorconfig Emacs package? It be good to avoid duplication and provide > a smooth transition path. "My work" is the integration of the upstream package into Emacs. The submitted code is currently not completely in sync with upstream, but mostly because I removed some features which I'm not completely sure yet if/how we'll support them. This non-syncness is temporary because I want to try and have it included in Emacs-30. Once that is done, I'll work on merging the changes I made back upstream, as well as smoothing over the remaining differences. Stefan