all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Damien Cassou <damien@cassou.me>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 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: Sun, 25 Aug 2024 22:23:14 +0200	[thread overview]
Message-ID: <87seusbbd9.fsf@cassou.me> (raw)
In-Reply-To: <jwvv7zo9zpb.fsf-monnier+emacs@gnu.org>

Hi Stefan,

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> when a .editorconfig file assigns a value for "indent_size" and no
>> value for "tab_width", I expect "tab_width" to default to the value of
>> "indent_size" as described in the documentation [1]. Unfortunately,
>
> Yes, I consciously disagreed with the standard here.  IMO, this better
> reflects Emacs's habitual behavior, so it makes more sense for Emacs users.
>
> Indeed, you can already get the "missing" behavior  by setting
> `indent_size` to `tab` and then setting `tab_width` to the desired
> indentation size.

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.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill





  reply	other threads:[~2024-08-25 20:23 UTC|newest]

Thread overview: 5+ 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 [this message]
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87seusbbd9.fsf@cassou.me \
    --to=damien@cassou.me \
    --cc=72808@debbugs.gnu.org \
    --cc=8.slashes@gmail.com \
    --cc=jaygkamat@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.