Re: [Freeciv-Dev] Coding styles (not cranky mode)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Daniel Sjolie wrote:
>
> Hi...
>
> Now I'm nice again... :) (Well, nicer :)
>
> It would be a nice thing if we could agree on a set of standard freeciv
> indent settings...
>
> That way I can write my code any way I want and simply run indent before
> I submit stuff...
>
> I don't care a lot about what these settings would be...
> And since I don't I can discuss it in a civilized manner... :)
>
> I would suggest
> -i4 -br -ce
> for starters...
It is possible, I think, to set up cvs so that every time you checkout a
file it is indented using indent to your personal style, and whenever
you check it back in it is re-indented using the 'house style'.
I *think* you can do this using cvs-wrappers - someone should check.
Jules
--
/----------------+-------------------------------+---------------------\
| Jelibean aka | jules@xxxxxxxxxxxxxxx | 6 Evelyn Rd |
| Jules aka | | Richmond, Surrey |
| Julian Bean | jmlb2@xxxxxxxxxxxxxxxx | TW9 2TF *UK* |
+----------------+-------------------------------+---------------------+
| War doesn't demonstrate who's right... just who's left. |
| When privacy is outlawed... only the outlaws have privacy. |
\----------------------------------------------------------------------/
|
|