[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200703062950.5e8c1785@lwn.net>
Date: Fri, 3 Jul 2020 06:29:50 -0600
From: Jonathan Corbet <corbet@....net>
To: Danny Lin <danny@...ag0n.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Whitcroft <apw@...onical.com>,
Joe Perches <joe@...ches.com>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] editorconfig: Add automatic editor configuration
file
On Fri, 3 Jul 2020 00:31:43 -0700
Danny Lin <danny@...ag0n.dev> wrote:
> EditorConfig is a standard for defining basic editor configuration in
> projects. There is support available for 47 code editors as of writing,
> including both built-in and extension support. Many notable projects
> have adopted the standard already, including zsh, htop, and qemu.
>
> While this isn't a full-fledged C code style specifier, it does set some
> basic ground rules that make it more convenient for contributors to use
> any editor of their choice and not have to worry about indentation, line
> endings, encoding, final newlines, etc. This should make it
> significantly easier to conform to the kernel's general code style when
> used in combination with clang-format.
>
> For more information, check the official EditorConfig website:
> https://editorconfig.org/
>
> Signed-off-by: Danny Lin <danny@...ag0n.dev>
> ---
So I worry a bit that not everybody will welcome the addition of a dotfile
that may be magically interpreted by their editor. I also worry that the
file itself could become a battleground for people wanting to argue about
style issues.
Perhaps I worry a bit too much...?
jon
Powered by blists - more mailing lists