Re: [PATCH v2] editorconfig: Add automatic editor configuration file

2021-03-25 Thread Miguel Ojeda
On Thu, Mar 25, 2021 at 8:02 AM Masahiro Yamada wrote: > > This is sensible for tools that interface to users. > Users have no interest in which language is used > internally. Agreed in the general case (e.g. everyday tools). In the kernel's case, however, I think it is not as important. And I g

Re: [PATCH v2] editorconfig: Add automatic editor configuration file

2021-03-25 Thread Masahiro Yamada
On Wed, Mar 24, 2021 at 8:01 PM Rasmus Villemoes wrote: > > On 03/07/2020 14.29, Jonathan Corbet wrote: > > [doing a bit of necromancy here] > > > On Fri, 3 Jul 2020 00:31:43 -0700 > > Danny Lin wrote: > > > >> EditorConfig is a standard for defining basic editor configuration in > >> projects.

Re: [PATCH v2] editorconfig: Add automatic editor configuration file

2021-03-24 Thread Rasmus Villemoes
On 03/07/2020 14.29, Jonathan Corbet wrote: [doing a bit of necromancy here] > On Fri, 3 Jul 2020 00:31:43 -0700 > Danny Lin wrote: > >> EditorConfig is a standard for defining basic editor configuration in >> projects. There is support available for 47 code editors as of writing, >> including

Re: [PATCH v2] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Joe Perches
On Fri, 2020-07-03 at 13:49 +0100, Matthew Wilcox wrote: > On Fri, Jul 03, 2020 at 12:31:43AM -0700, Danny Lin wrote: > > +# This avoids introducing too many unnecessary changes in trivial commits > > +trim_trailing_whitespace = false > > I think we prefer trailing whitespace to be trimmed, even f

Re: [PATCH v2] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Matthew Wilcox
On Fri, Jul 03, 2020 at 12:31:43AM -0700, Danny Lin wrote: > +# This avoids introducing too many unnecessary changes in trivial commits > +trim_trailing_whitespace = false I think we prefer trailing whitespace to be trimmed, even for trivial commits. > +# General 4-space files > +[*.{pl,pm,py,tc,

Re: [PATCH v2] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Jonathan Corbet
On Fri, 3 Jul 2020 00:31:43 -0700 Danny Lin 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

[PATCH v2] editorconfig: Add automatic editor configuration file

2020-07-03 Thread Danny Lin
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 fu