lkml.org 
[lkml]   [2008]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] CodingStyle: multiple updates

On Feb 27 2008 16:11, SL Baur wrote:
>On 2/27/08, Richard Knutsson <ricknu-0@student.ltu.se> 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... :-/


\
 
 \ /
  Last update: 2008-02-28 01:21    [W:0.107 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site