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

Michel Dänzer michel at daenzer.net
Tue Jun 28 03:00:42 UTC 2016


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-not-automatically-reformatted-the-editorconfig-plugin-is-not-working
> ).  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.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list