Gustavo Sverzut Barbieri wrote:
> On Jan 7, 2008 1:26 PM, Michael Jennings <[EMAIL PROTECTED]> wrote:
>> On Monday, 07 January 2008, at 09:21:25 (-0600),
>> Ravenlock wrote:
>>
>>>> raster's coding style (joe default?) is 1 tab to replace 8 spaces,
>>>> weird I know... :-/
>>> I thought it was the other way around.  It was my understanding that
>>> raster replaced the tabs with 8 spaces.  I must be mistaken.
>> No, Gustavo is.
>>
>> raster's style is contained in e17/libs/imlib2/.indent.pro:
>>
>> -i3 -nut -brs -bl -bad -nbap -sob -ncdb -di20 -nbc -lp -nce -npcs -sc
>> -ncs -l80
>>
>> Note the "-nut" which means "use spaces, not tabs."
> 
> Really? Every time raster touch code I see spaces replaced by tabs, I
> even had to change my .emacs to reflect this for files under
> ~/Development/cvs/e17
> 
I put that file there at a point where I got annoyed with the formatting 
style mess in imlib2. The formatting style details, among other things 
tabs/spaces, were set up in an attempt to minimize the overall change 
caused by running indent on src/lib/*.c at that time. IIRC using spaces 
in stead of tabs resulted in slightly fewer changes.

Actually, I think the "original raster formatting style" is closer to 
the one in e16/e/.indent.pro, which specifies to use tabs.

I think it would be a good thing to specify a recommended/default indent 
profile, and require that apps/libs explicitly place a .indent.pro at 
top level if they want to deviate.

/Kim


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to