From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: Damien Cassou <damien@cassou.me>,
72808@debbugs.gnu.org, jaygkamat@gmail.com, 8.slashes@gmail.com
Subject: bug#72808: 30.0.90; editorconfig doesn't set tab_width to a default value
Date: Thu, 31 Oct 2024 22:42:31 -0400 [thread overview]
Message-ID: <jwvplnffzpd.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CADwFkmk2GGTUYpmL2mWERA7LUYp1Ru6VNoe97CucK8_JmpUbxA@mail.gmail.com> (Stefan Kangas's message of "Thu, 31 Oct 2024 19:09:21 -0700")
forcemerge 72808 72790
thanks
>> The problem is that the .editorconfig file can be shared across users of
>> different editors for a given project. Emacs disagreeing with the
>> standard means that Emacs users will now have to explain to their
>> colleagues why they are introducing a change in a .editorconfig file
>> that the standard says is unnecessary. This is putting me, at least, in
>> an uncomfortable position with non-Emacs users in my team. Additionally,
>> if other editors disagree with the standard for other reasons, we may
>> quickly reach a situation where no content of .editorconfig will suit
>> everyone.
>
> I agree, FWIW.
>
> This makes our .editorconfig support less useful than it could be. The
> point, to my mind at least, is exactly that users *shouldn't* have to do
> any extra work to get the right settings when opening a new project. If
> it has a correct .editorconfig file, everything should Just Work (TM).
>
> IOW, the user experience I prefer is not "new project, so now you have
> to send yet another .editorconfig patch". At $WORK, for example, this
> is complicated by things like which team maintains a given repository,
> how amenable they are likely to be to a seemingly redundant patch to
> improve support for Emacs, etc. In all likelihood, I will just end up
> creating .dir-locals.el files instead, to avoid the discussion.
>
> If we insist on this, how about adding an option to turn the
> incompatible behaviour off?
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.
Stefan
next prev parent reply other threads:[~2024-11-01 2:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <pmg-aquar-1261481-87le0mrqpn.fsf@cassou.me>
2024-08-25 19:25 ` bug#72808: 30.0.90; editorconfig doesn't set tab_width to a default value Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-25 20:23 ` Damien Cassou
2024-09-07 7:27 ` Eli Zaretskii
2024-09-08 11:25 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-21 9:07 ` Eli Zaretskii
2024-11-01 2:09 ` Stefan Kangas
2024-11-01 2:42 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-11-01 7:37 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvplnffzpd.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=72808@debbugs.gnu.org \
--cc=8.slashes@gmail.com \
--cc=damien@cassou.me \
--cc=jaygkamat@gmail.com \
--cc=monnier@iro.umontreal.ca \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).