[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-members] whitespace and CVS commits/diffs
From: |
Jani Monoses |
Subject: |
Re: [lwip-members] whitespace and CVS commits/diffs |
Date: |
Fri, 14 Feb 2003 15:01:13 +0200 |
I tried indent with lots of options but some are missing
GNU indent 2.2.6 so when applied while makes most parts sane
some are changed (it does not recognize a cast if it's not using
a standard C type so casts to err_t or u16_t go undetected)
makes 'type * ident' instead of 'type *ident' constructs etc.
Since it's not so easy to automatically indent we'll just have to be careful
when modifying files.
> Hello,
>
> > yes I prefer the current way in lwIP code at least
> > I suppose you are reffering to David's recent changes
> > which use tabs.He was not on the members list and I think it's there
> > that the discussion took place but with this thread
> > he can have no excuse any longer ;)
> >
> Yes, I came across this when David patches came in, but this
> is a generic issue. I am using different editors at different platforms
> on different computers, so I find myself with a lot of whitespace
> patching as well.
>
> This is especially cumbersome if a patched line has different indenting
> than it's neighbouring lines.
>
> > Do you know of an indent incantation or Adam's original editor
> > setting to produce code like the current one?
> >
> No. What I basically do is ensure my editor does not convert anything
> to anything when loading. And most of the times, I keep an eye on things
> using the "view whitespace" setting.
>
> Leon.
>
>
>
>
> _______________________________________________
> lwip-members mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/lwip-members