lkml.org 
[lkml]   [2008]   [Feb]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 28 Feb 2008 01:18:23 +0100 (CET)
FromJan Engelhardt <>
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    [from the cache]
©2003-2008