Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761626AbYB1ASf (ORCPT ); Wed, 27 Feb 2008 19:18:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755207AbYB1AS1 (ORCPT ); Wed, 27 Feb 2008 19:18:27 -0500 Received: from sovereign.computergmbh.de ([85.214.69.204]:43895 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756133AbYB1AS1 (ORCPT ); Wed, 27 Feb 2008 19:18:27 -0500 Date: Thu, 28 Feb 2008 01:18:23 +0100 (CET) From: Jan Engelhardt To: SL Baur cc: Richard Knutsson , Randy Dunlap , Krzysztof Halasa , Guennadi Liakhovetski , bhalevy.lists@gmail.com, Linux Kernel Mailing List Subject: Re: [PATCH] CodingStyle: multiple updates In-Reply-To: Message-ID: References: <1204062430.47c488def40a4@portal.student.luth.se> <20080226135444.f83a0536.randy.dunlap@oracle.com> <20080226213432.1388717b.randy.dunlap@oracle.com> <47C5DDE0.3040403@student.ltu.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 967 Lines: 28 On Feb 27 2008 16:11, SL Baur wrote: >On 2/27/08, Richard Knutsson 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/