This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH, RFA] Fix formatting for event-top.h


Mark Kettenis wrote:
> 
>    From: Elena Zannoni <ezannoni@cygnus.com>
>    Date: Fri, 20 Apr 2001 10:13:26 -0400 (EDT)
> 
>    Mark Kettenis writes:
>     > While lacking some inspiration while writing about free electrons in a
>     > magnetic field (the subject of my thesis) I fixed some formatting
>     > mistakes in event-top.h.  OK to check the attached patch in?
>     >
>     > Mark
>     >
> 
>    Sure, thanks. Except I like better functions declarations on just one
>    line, so I can see all the parameters when I do a grep, but maybe this
>    is not compliant with the general rule? A quick look shows that I am
>    probably wrong.
> 
> Hmm.  The GNU coding standards strongly suggest that one should break
> parameter lists if they don't fit on a single line, at least for
> function definitions.  Personally I find those long lines very
> distracting when I'm using Emacs with 80 characters per line.  So I
> checked it in :-).

I agree with Mark, I like long lines to be broken at a logical point
and the sub-lines neatly indented (rather than wrapping around my 
screen at column 79 and beginning in column one).

Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]