Re: [Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-07-02 Thread Jose Fonseca
On 02/07/16 10:38, Michel Dänzer wrote: On 01.07.2016 23:11, Emil Velikov wrote: On 28 June 2016 at 04:00, Michel Dänzer wrote: FWIW, +1 for adding .editorconfig files corresponding to the existing .dir-locals.el files as a first step, so users of other editors can also get the benefit of the

Re: [Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-07-02 Thread Michel Dänzer
On 01.07.2016 23:11, Emil Velikov wrote: > On 28 June 2016 at 04:00, Michel Dänzer wrote: >> >> FWIW, +1 for adding .editorconfig files corresponding to the existing >> .dir-locals.el files as a first step, so users of other editors can also >> get the benefit of their code getting formatted corre

Re: [Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-07-01 Thread Emil Velikov
On 28 June 2016 at 04:00, Michel Dänzer wrote: > On 27.06.2016 19:52, Jose Fonseca wrote: >> >> BTW, I've been using http://editorconfig.org/ on several projects. It's >> widely supported by many editors including Emacs. >> Very nice suggestion Jose. Thanks ! >> There's even Python based tools to

Re: [Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-06-27 Thread Michel Dänzer
On 27.06.2016 19:52, Jose Fonseca wrote: > > BTW, I've been using http://editorconfig.org/ on several projects. It's > widely supported by many editors including Emacs. > > There's even Python based tools to check editorconfig ( > https://github.com/editorconfig/editorconfig/wiki/FAQ#my-files-are-

Re: [Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-06-27 Thread Jose Fonseca
On 22/06/16 13:25, Emil Velikov wrote: Hi All, Seems like we have a few people are keen on the idea of having some form of at least semi-automated way to handle coding style issues. Some options/ideas: - Combine the emacs .dir-local.el + emacs -batch to do the checking: Pros: rules aren't dup

Re: [Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-06-22 Thread Rob Clark
On Wed, Jun 22, 2016 at 8:25 AM, Emil Velikov wrote: > Hi All, > > Seems like we have a few people are keen on the idea of having some > form of at least semi-automated way to handle coding style issues. > > Some options/ideas: > - Combine the emacs .dir-local.el + emacs -batch to do the checking

[Mesa-dev] [RFC] Coding style scripts (Was Re: [PATCH 1/2] gallium: replace [0-9]*.f with [0-9]*.0f)

2016-06-22 Thread Emil Velikov
Hi All, Seems like we have a few people are keen on the idea of having some form of at least semi-automated way to handle coding style issues. Some options/ideas: - Combine the emacs .dir-local.el + emacs -batch to do the checking: Pros: rules aren't duplicated in multiple places (like the secon