Re: [PATCH 25/90] ARM: OMAP: h4 must have blinky leds!!

From: Jan Engelhardt
Date: Thu Apr 05 2007 - 16:39:01 EST



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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/