Complete.Org: Mailing Lists: Archives: freeciv-dev: June 1999:
Re: [Freeciv-Dev] Coding styles (not cranky mode)
Home

Re: [Freeciv-Dev] Coding styles (not cranky mode)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel Sjolie <deepone@xxxxxxxxxx>
Cc: Freeciv List <freeciv-dev@xxxxxxxxxxx>
Subject: Re: [Freeciv-Dev] Coding styles (not cranky mode)
From: Jules Bean <jmlb2@xxxxxxxxxxxxxxxx>
Date: Wed, 02 Jun 1999 19:14:52 +0100

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.          |
\----------------------------------------------------------------------/

[Prev in Thread] Current Thread [Next in Thread]