GNU bug report logs - #72808
30.0.90; editorconfig doesn't set tab_width to a default value

Previous Next

Package: emacs;

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

Date: Sun, 25 Aug 2024 19:28:01 UTC

Severity: normal

Tags: wontfix

Merged with 72790

Found in version 30.0.90

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: damien <at> cassou.me, 72808 <at> debbugs.gnu.org, jaygkamat <at> gmail.com,
 stefankangas <at> gmail.com, 8.slashes <at> gmail.com
Subject: Re: bug#72808: 30.0.90;
 editorconfig doesn't set tab_width to a default value
Date: Fri, 01 Nov 2024 09:37:22 +0200
> Cc: Damien Cassou <damien <at> cassou.me>, 72808 <at> debbugs.gnu.org,
>  jaygkamat <at> gmail.com, 8.slashes <at> gmail.com
> Date: Thu, 31 Oct 2024 22:42:31 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Note that in response to the very similar request in bug#73991 (where
> I also point out more reasons why I think the EditorConfig spec is just
> poorly thought out in this respect), I (reluctantly🙂) installed in
> `emacs-30` a patch which should make Emacs behave like Damien expects
> for the `.editorconfig` file he provided.

Indeed.  Moreover, people who claim that we must behave like other
editors should also explain how to reconcile that with the fact that
Emacs has a much more complex handling of tab-width wrt indentation,
and in particular we almost completely decoupled these two.  It is
IMNSHO unthinkable that support of EditorConfig will change how Emacs
handles tabs and indentation in its various major modes.

So saying that we should comply is not enough, because everyone here
is in favor of compliance.  The problem, and the reason why Stefan
didn't comply 100% with that single setting, is that there are
significant conceptual problems with providing such compliance without
breaking expectations of Emacs users.  Thus, if you think what we have
is insufficient, please tell how to be more compatible without
breaking traditional Emacs behaviors wrt to tabs and indentation.
Because we cannot possibly allow that tail to wag the dog, can we?




This bug report was last modified 203 days ago.

Previous Next


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