From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#70105: 30.0.50; Emacs should support EditorConfig out of the box Date: Tue, 18 Jun 2024 06:21:17 +0000 Message-ID: <87bk3yai02.fsf@localhost> References: <867chibhqi.fsf@gnu.org> <86frtnd2e6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4022"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jcs090218@gmail.com, bjorn.bidar@thaodan.de, Eli Zaretskii , 8slashes+git@gmail.com, 70105@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 18 08:20:23 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 1sJSCd-0000mo-Ix for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jun 2024 08:20:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJSCG-0008GB-SX; Tue, 18 Jun 2024 02:20: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 1sJSCF-0008Ff-Go for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 02:19: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 1sJSCF-0003xK-8u for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 02:19:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJSCH-0005f2-Lm for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2024 02:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jun 2024 06:20: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.171869159221732 (code B ref 70105); Tue, 18 Jun 2024 06:20:01 +0000 Original-Received: (at 70105) by debbugs.gnu.org; 18 Jun 2024 06:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:40626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJSC7-0005eS-69 for submit@debbugs.gnu.org; Tue, 18 Jun 2024 02:19:51 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:43361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJSC4-0005eE-KR for 70105@debbugs.gnu.org; Tue, 18 Jun 2024 02:19:49 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D65DA240104 for <70105@debbugs.gnu.org>; Tue, 18 Jun 2024 08:19:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718691579; bh=lddRGjw/wuUDquKP+VlEYHMRHgecnPjLBawgUZVVSrw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Bw5cjrEPXflLgpm3sic49knHH3X+8IB9aVxwN3kLgCgjMRr41ozSdN1k3WB7Vc1zu jAdgOjNnw8RPAg241z9h5FmeexoQYFqzQzGd9gnL9eXBBnUrA2h2r/sI7cmoiilUfD N3z0zGDBobeeC6l43r0BnDW0rk/dSdkH+CzTw0v3ByEG2tZyaeeFvKoCa9hjjDdd3o s0bz2r4HBOpUnzOL73/RBpMA8PlrIzTyMOLyfS9Su7LYYiA97YH9WZRbfdoy9J2AYr snS5cT9wfSCXTxpQ683PjiyiltFwMMYaAAr0oxWaCkU5EedcnqdpEjfeWiKmaKmldl SE8fZGC84kFIw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W3Gn619F3z9rxD; Tue, 18 Jun 2024 08:19:37 +0200 (CEST) In-Reply-To: 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:287427 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > 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. Is it possible for major modes to indicate that [*] editorconfig setting must not be used? In particular, Org mode needs to use a fixed `tab-width' and editorconfig must not override that (it is a part of the syntax). We already had a user reporting problems caused by https://github.com/editorconfig/editorconfig-emacs where tab-width was changed to 4 by default. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at