GNU bug report logs - #70105
30.0.50; Emacs should support EditorConfig out of the box

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 31 Mar 2024 13:45:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 70105 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: jcs090218 <at> gmail.com, bjorn.bidar <at> thaodan.de, Eli Zaretskii <eliz <at> gnu.org>,
 8slashes+git <at> gmail.com, 70105 <at> debbugs.gnu.org
Subject: Re: bug#70105: 30.0.50; Emacs should support EditorConfig out of
 the box
Date: Tue, 18 Jun 2024 06:21:17 +0000
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




This bug report was last modified 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.