Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753900AbXFPRnt (ORCPT ); Sat, 16 Jun 2007 13:43:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751842AbXFPRnk (ORCPT ); Sat, 16 Jun 2007 13:43:40 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:54571 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751799AbXFPRnk (ORCPT ); Sat, 16 Jun 2007 13:43:40 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <46742130.6010409@s5r6.in-berlin.de> Date: Sat, 16 Jun 2007 19:43:12 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070609 SeaMonkey/1.1.2 MIME-Version: 1.0 To: gorcunov@gmail.com CC: "Kok, Auke" , Chris Friesen , LKML , Randy Dunlap , Jan Engelhardt , dave young , Willy Tarreau , apw@shadowen.org, jschopp@austin.ibm.com Subject: Re: coding style References: <20070614184836.GA6520@cvg> <20070615045111.GU943@1wt.eu> <46721F18.8090303@intel.com> <20070615173206.GA8151@cvg> <4672D246.2040306@nortel.com> <4672D4D3.60905@intel.com> <20070615182255.GB8151@cvg> <4673E09F.704@s5r6.in-berlin.de> <20070616143101.GA6579@cvg> In-Reply-To: <20070616143101.GA6579@cvg> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 28 gorcunov@gmail.com wrote: > [Stefan Richter - Sat, Jun 16, 2007 at 03:07:43PM +0200] > | Cyrill Gorcunov wrote: > | > There sould be someting making strict rule over alignment (as it done > | > for the tabs size). > | > | That's impracticable. Alignment, as it serves readability, cannot be > | covered by a few strict rules. > Yes, but C syntax (and grammar) is limited set. And alignmet I'm talking > about may cover the following statements only: > > 1) Mathematical > 2) Logical > 3) Function's arguments Sure, but we have sometimes long names and long ./-> dereference expressions. Alignment of those after line wraps sometimes turns out better if 'taste' rather than a simple rule is applied. -- Stefan Richter -=====-=-=== -==- =---- http://arcgraph.de/sr/ - 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/