From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mt1hD-00020O-9z for qemu-devel@nongnu.org; Wed, 30 Sep 2009 12:06:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mt1h8-0001xR-Hv for qemu-devel@nongnu.org; Wed, 30 Sep 2009 12:06:26 -0400 Received: from [199.232.76.173] (port=39735 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt1h8-0001xK-Cx for qemu-devel@nongnu.org; Wed, 30 Sep 2009 12:06:22 -0400 Received: from verein.lst.de ([213.95.11.210]:35728) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Mt1h7-0003Xo-RT for qemu-devel@nongnu.org; Wed, 30 Sep 2009 12:06:22 -0400 Date: Wed, 30 Sep 2009 18:06:17 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] Re: CODING_STYLE (was Re: [PATCHv2] qemu: target library, use it in msix) Message-ID: <20090930160617.GA7212@lst.de> References: <20090923200635.GA21246@redhat.com> <20090924191121.GB29419@redhat.com> <20090929161115.GA13885@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" On Tue, Sep 29, 2009 at 09:15:04PM +0300, Blue Swirl wrote: > We could also select a new style, like Linux kernel one. I'm also not > a great fan of that either. But at least 'indent' could be used very > easily and I think there would be other benefits, like reuse of Git > hooks, patch checking scripts and Emacs configs. With full 'indent' > support all sources could be massaged mechanically to make the switch > less painful. > > Then there are K&R and GNU styles, but I like them even less. Everything but GNU obsfucation :) Seriously, something resembling Linux CodingStyle or style(9) in the various BSDs would probably help a lot of people avoiding to context switch too much.