Received: from eggs.gnu.org ([2001:4830:134:3::10]:53748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIq2-0000dZ-6d for qemu-devel@nongnu.org; Tue, 25 Aug 2015 14:20:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUIpx-000725-U0 for qemu-devel@nongnu.org; Tue, 25 Aug 2015 14:20:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIpx-00071y-ND for qemu-devel@nongnu.org; Tue, 25 Aug 2015 14:20:45 -0400 From: Markus Armbruster References: <1434698944-3331-1-git-send-email-pbonzini@redhat.com> <5583CE51.3020206@suse.de> <5583D4FD.1000300@redhat.com> Date: Tue, 25 Aug 2015 20:20:42 +0200 In-Reply-To: <5583D4FD.1000300@redhat.com> (Paolo Bonzini's message of "Fri, 19 Jun 2015 10:38:21 +0200") Message-ID: <876143jklh.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] CODING_STYLE: update line length and mixed declaration rules List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Andreas =?utf-8?Q?F=C3=A4rber?= , Eduardo Habkost , qemu-devel@nongnu.org Paolo Bonzini writes: > On 19/06/2015 10:09, Andreas F=C3=A4rber wrote: >>> > -Lines are 80 characters; not longer. >>> > +Lines should be 80 characters; try not to make them longer. >>> > + >>> > +Sometimes it is hard to do, especially when dealing with QEMU subsys= tems >>> > +that use long function or symbol names. Even in that case, do not m= ake >>> > +lines _much_ longer than 80 characters. >> Anthony had always allowed sensible exceptions to that rule, so +1 for >> reformulating it here. >>=20 >> However, I would suggest that in that case we should lower the >> recommendation/warning to 78 chars, with the rationale of not only the >> actual code but also two-way diffs (79 chars plus =C2=B1/space) and >> three-way diffs (78 chars plus 2x =C2=B1/space) fitting into standard 80= x24 >> windows. > > Good idea. I personally prefer a slightly lower limit, to keep quoted patches in e-mail neatly under 80. How much writability to trade for readability is subjective, and I won't argue against 78. >> Either way, can you please decouple the two changes? > > Sure, didn't want to spam people with a series on what is mostly an RFC. Looking forward to your respin.