[Piglit] [PATCH] dir-locals.el: Added emacs setup based (v2)

Andres Gomez agomez at igalia.com
Tue Apr 19 08:30:35 UTC 2016


On Mon, 2016-04-18 at 12:47 -0400, Ilia Mirkin wrote:
> Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
> 
> Seems fine to me. I assume you tested this :)

Thanks!

Yes. At least, for me it is working as expected :)

> 
> On Mon, Apr 18, 2016 at 12:37 PM, Andres Gomez <agomez at igalia.com>
> wrote:
> > 
> > Based on current conventions at .editorconfig
> > 
> > v2: Changed automatic deletion of trailing white spaces in python
> >     files upon saving for just highlighting them in any format, as
> >     suggested by Ilia Mirkin.
> > 
> > Signed-off-by: Andres Gomez <agomez at igalia.com>
> > ---
> >  .dir-locals.el | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >  create mode 100644 .dir-locals.el
> > 
> > diff --git a/.dir-locals.el b/.dir-locals.el
> > new file mode 100644
> > index 0000000..3bdca17
> > --- /dev/null
> > +++ b/.dir-locals.el
> > @@ -0,0 +1,11 @@
> > +((nil . ((indent-tabs-mode . t)
> > +        (tab-width . 8)
> > +        (show-trailing-whitespace . t)))
> > + (prog-mode .
> > +           ((c-file-style . "linux")))
> > + (cmake-mode .
> > +            ((cmake-tab-width . 8)))
> > + (python-mode .
> > +             ((indent-tabs-mode . nil)
> > +              (tab-width . 4)))
> > + )
> > --
> > 2.8.0.rc3
> > 
-- 
Br,

Andres

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160419/944d6162/attachment.sig>


More information about the Piglit mailing list