On Wed, 28 Jul 2010 08:34:37 -0300 Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> said:

> On Tue, Jul 27, 2010 at 11:10 PM, Carsten Haitzler <ras...@rasterman.com>
> wrote:
> > ok as one of the final few things before an efl 1.0.0... we need to cease
> > the formatting wars/hell. the first step is in stopping the newlines, space
> > vs tab and other indentation etc. wars. from now on all efl and e code will
> > conform to a SINGLE standard. that standard is now programmatically
> > enforced by the config
> > + script + tool in the FORMATTING dir. its a tool called uncrustify. it
> > butchers code much less than indent does and does a good job. to set the
> > tool just run formatefl.sh from the FORMATTING dir. you can read the script
> > to see. but from now on ALL commits will be required to be formatted before
> > you commit (or update for that matter). this stops format arguments. there
> > is only 1 format. feel free to teach your editor to try and do the same
> > format. as such in jed it's easy. add these to your ~/.jedrc:
> >
> > USE_TABS           = 0;
> > C_INDENT           = 3;
> > C_BRACE            = 2;
> > C_BRA_NEWLINE      = 0;
> > C_Colon_Offset     = 0;
> > C_CONTINUED_OFFSET = 3;
> 
> While we're at it:
> 
>     - could you provide a clue on what changed? From what I understand
> from your jed options, just tabs got replaced with spaces?

that changed years ago. after enough debates with people over how big a tab is
and people simply not wanting to agree to leave tabs at 8. so spaces it is.

>     - could we settle on NO TRAILING WHITESPACES, for god sake :-)

thats what things like uncrustify should fix.

> I will update my emacs mode based on these new specs.
> 
> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
> 
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to