Re: [Mesa-dev] [PATCH mesa] Introduce .editorconfig

2016-08-30 Thread Jose Fonseca
On 29/08/16 22:30, Eric Engestrom wrote: A few weeks ago, Jose Fonseca suggested [0] we use .editorconfig files to try and enforce the formatting of the code, to which Michel Dänzer suggested [1] we start by importing the existing .dir-locals.el settings. The first draft was discussed in the RFC

Re: [Mesa-dev] [PATCH mesa] Introduce .editorconfig

2016-08-30 Thread Rob Clark
On Tue, Aug 30, 2016 at 12:16 PM, Emil Velikov wrote: > On 29 August 2016 at 22:30, Eric Engestrom wrote: > >> A couple of people have also suggested I add `tab_width`, but IMO this >> concept >> should die: it comes from the confusion between

Re: [Mesa-dev] [PATCH mesa] Introduce .editorconfig

2016-08-30 Thread Emil Velikov
On 29 August 2016 at 22:30, Eric Engestrom wrote: > A couple of people have also suggested I add `tab_width`, but IMO this concept > should die: it comes from the confusion between indentation (a logic concept > meant to convey code structure) and alignment (an aesthetic

Re: [Mesa-dev] [PATCH mesa] Introduce .editorconfig

2016-08-30 Thread Eric Engestrom
On Mon, Aug 29, 2016 at 11:43:49PM +0200, Serge Martin wrote: > On Monday 29 August 2016 22:30:58 Eric Engestrom wrote: > > A few weeks ago, Jose Fonseca suggested [0] we use .editorconfig files > > to try and enforce the formatting of the code, to which Michel Dänzer > > suggested [1] we start by

Re: [Mesa-dev] [PATCH mesa] Introduce .editorconfig

2016-08-29 Thread Serge Martin
On Monday 29 August 2016 22:30:58 Eric Engestrom wrote: > A few weeks ago, Jose Fonseca suggested [0] we use .editorconfig files > to try and enforce the formatting of the code, to which Michel Dänzer > suggested [1] we start by importing the existing .dir-locals.el > settings. The first draft was

[Mesa-dev] [PATCH mesa] Introduce .editorconfig

2016-08-29 Thread Eric Engestrom
A few weeks ago, Jose Fonseca suggested [0] we use .editorconfig files to try and enforce the formatting of the code, to which Michel Dänzer suggested [1] we start by importing the existing .dir-locals.el settings. The first draft was discussed in the RFC [2]. These .editorconfig are a first