Re: [PATCH] CodingStyle: multiple updates

From: Jan Engelhardt
Date: Wed Feb 27 2008 - 19:18:35 EST



On Feb 27 2008 16:11, SL Baur wrote:
>On 2/27/08, Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx> wrote:
>
>> Actually, I see this as an quite simple question: is tab _the
>> indention-marker_? If not, then why the refusal of spaces indents (or mix)?
>
>Because mixing spaces and tabs is often ugly. 8 spaces and a
>single tab often do not have the same width when you're viewing
>the text in a variable width font.

By the way, neither tab nor bunch-a'-spaces makes alignment look good.
Try:

/* fails when !monospace || tab != 8 */
fprintf(fp, KERN_WARNING
"Opening quotes should be right after (");

/* fails if !monospace */
fprintf(fp, KERN_WARNING
"Opening quotes should be right after (");

hm... :-/
--
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/