[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0704052232540.6042@yvahk01.tjqt.qr>
Date: Thu, 5 Apr 2007 22:35:39 +0200 (MEST)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: David Brownell <david-b@...bell.net>
cc: Randy Dunlap <randy.dunlap@...cle.com>,
Tony Lindgren <tony@...mide.com>, linux-kernel@...r.kernel.org,
David Brownell <dbrownell@...rs.sourceforge.net>
Subject: Re: [PATCH 25/90] ARM: OMAP: h4 must have blinky leds!!
On Apr 5 2007 11:19, David Brownell wrote:
>On Wednesday 04 April 2007 9:18 pm, Randy Dunlap wrote:
>
>> I don't think it's a MUA thing. I think David is talking about the
>> spaces after the ^\t that are used for indenting immediately under
>> the "if".
>
>Exactly.
>
>1 if (There was a young lady named Bright
>2 Whose speed was far faster than light) {
>3 She set out one day
>4 in a relative way
>5 }
>6 And returned on the previous night
>
>obeys the only-ident-by-tabs rule, as does
>
>1 if (To control chain reactions, your odds
>2 Improve if you've got cadmium rods) {
>3 In your fission reactor
>4 Their lack is a factor
>5 }
>6 In screams of "A meltdown! Ye gods!"
>
>Now, the former makes it hard to tell what's condition vs consequent.
>(Or whatever the correct technical term is in cases like these.)
My fu dictates that continuation lines (line 2 in this example)
should have more indent than line 1, and that the inner block code
(lines 3 and 4) should have more indent than line 2. Using
/^\t+\x20{2,8}/ on continuation line(s) is perfect because it does
not cause either the continuation line(s) or the inner block code to
move too much to the right.
Jan
--
-
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