[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0912181210130.3223@hs20-bc2-1.build.redhat.com>
Date: Fri, 18 Dec 2009 12:12:34 -0500 (EST)
From: Mikulas Patocka <mpatocka@...hat.com>
To: Randy Dunlap <randy.dunlap@...cle.com>
cc: Alasdair G Kergon <agk@...hat.com>,
device-mapper development <dm-devel@...hat.com>,
Joe Perches <joe@...ches.com>, Valdis.Kletnieks@...edu,
linux-kernel@...r.kernel.org, Paul Mundt <lethal@...ux-sh.org>,
Andy Whitcroft <apw@...onical.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [dm-devel] Re: [PATCH] scripts/checkpatch.pl: Change long line
warning to 105 chars
On Fri, 18 Dec 2009, Randy Dunlap wrote:
> On Fri, 18 Dec 2009 15:12:41 +0000 Alasdair G Kergon wrote:
>
> > On Fri, Dec 18, 2009 at 03:37:00PM +0100, Krzysztof Halasa wrote:
> > > Not sure if that's long enough (maybe it is).
> > > 132 looks like the next "natural" number.
> >
> > Well it's good that this thread has produced more examples where it's
> > reasonable and acceptable to exceed 80 characters.
> >
> > What do people feel about files where the policy is to place all the
> > parameters passed into a function on the same line, regardless of its
> > consequent length?
>
> Not good IMO. It's much easier to read something that is restricted in
> width than to have to scroll/pan side to side.
> (e.g., newspaper columns. Oops, what's a newspaper?)
I don't like scrolling too but most viewers and editors wrap it
automatically to screen width. For example, restrict your terminal to 50
columnts and try using "less".
Mikulas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists