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

Emil Velikov emil.l.velikov at gmail.com
Fri Jul 1 14:11:56 UTC 2016


On 28 June 2016 at 04:00, Michel Dänzer <michel at daenzer.net> 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 check editorconfig (
>> https://github.com/editorconfig/editorconfig/wiki/FAQ#my-files-are-not-automatically-reformatted-the-editorconfig-plugin-is-not-working
>> ).
Those tools are short on activity over the past 9-20+ months. Will
have to check how "imperfect" they are, one of these days.

>>  We already require Python, downloading a Python package is trivial
>> to do nowadays with pip, so we could easily standardize on .editorconfig
>> files everywhere.
>
> 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 correctly by default.
>
Sounds reasonable. Can I volunteer you for testing them in VIM, since
my editor does not have work with .editorconfig(s) yet :-)

Thanks
Emil


More information about the mesa-dev mailing list