[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ERT indentation testing
From: |
Ted Zlatanov |
Subject: |
Re: ERT indentation testing |
Date: |
Thu, 19 May 2011 05:33:57 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Wed, 18 May 2011 19:19:25 -0300 Stefan Monnier <address@hidden> wrote:
>> This can be done with ERT, right? A bunch of .cc files with file-local
>> variables could be indented "properly" for those variables. Then the
>> test logic for each file is
SM> [...]
>> Plus, of course, it's not limited to .cc files. It would work just as
>> well for .c, .pl, .el, whatever.
SM> Yup, we already have such files in test/indent.
Yes, I see that now (I didn't see the commit for those, cool!)
We should have .c and .cc files with the major indentation styles
specified as file-local variables, plus .ini, Perl, Java, Python, and of
course Lisp (CL and ELisp). Should I add those?
>> I can write the ERT wrapper if this sounds useful.
SM> If you could integrate test/indent with ERT's automated tests, that
SM> would be nice.
OK, I'll put it on my TODO list.
Ted
Re: [RFC PATCH] setting indentation styles via `c-file-style' fails to actually change indentation, Glenn Morris, 2011/05/17