From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev+bounces-59698-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F69D1381F3 for <garchives@archives.gentoo.org>; Mon, 15 Apr 2013 19:06:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18629E0B24; Mon, 15 Apr 2013 19:06:08 +0000 (UTC) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D648E0B1D for <gentoo-dev@lists.gentoo.org>; Mon, 15 Apr 2013 19:06:06 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id e12so4061199vbg.17 for <gentoo-dev@lists.gentoo.org>; Mon, 15 Apr 2013 12:06:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:x-originating-ip:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:x-gm-message-state; bh=phR+IfX1MSZ+wKXjFxi1M2IlfmVHPjqo+tvtomnhWrg=; b=KGKMF9M8ygrT70WwW/wITO/im1A+cplW3l8KVHzqiPRKH9FQzEeRAMbpYdstzpZ0FP nFF2QcrPmHfdOa47ZW246ioB3wJPquBL8mMFCU9eKagGL8aop4bhPn8lFDZ+fRzj38KY Q/p/sAsZJw06sbVXMVCWGUF+8s89eb2EwM6s2F9rBv8sqKa5EUIzKl+nKlgUPX4iASId FqIzMFHXoN7hRTqZRnlXfXI1jWgFPbG4T1riq3lLkzClzwi+0HwJ5Mjhv8NE7UjuDnZY tMsf96YgJa8d7Aa2DVgRkjhgaAMBsSs8xYQ3krdzmx3TWMrLnOnAV3lXrdJ+pTwo9Nne i67w== Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.221.1.144 with SMTP id nq16mr16985779vcb.57.1366052765879; Mon, 15 Apr 2013 12:06:05 -0700 (PDT) Sender: antarus@scriptkitty.com Received: by 10.220.40.146 with HTTP; Mon, 15 Apr 2013 12:06:05 -0700 (PDT) X-Originating-IP: [172.19.14.220] In-Reply-To: <20130415111047.GB5854@gengoff.local.grandmasfridge.org> References: <1365974524.26280.2.camel@localhost> <20130415072130.37a813d8@pomiocik.lan> <1366006508.26280.3.camel@localhost> <20130415111047.GB5854@gengoff.local.grandmasfridge.org> Date: Mon, 15 Apr 2013 12:06:05 -0700 X-Google-Sender-Auth: VTN6lMAyszv3lcXlzD0s9XEhGuE Message-ID: <CAAr7Pr-KOVmMagMBbWNqa09NRqsse7XATGjJUAE9hTCPRejskg@mail.gmail.com> Subject: Re: [gentoo-dev] About how many spaces a tab represents From: Alec Warner <antarus@gentoo.org> To: Gentoo Dev <gentoo-dev@lists.gentoo.org> Content-Type: multipart/alternative; boundary=bcaec54eee3cdb0a1204da6af161 X-Gm-Message-State: ALoCoQku5VEeYLRchKWaY8AmlKel3lzZac0RxpyWeaSRLLEUqtg/cFch/dADQtVQ0WjLzRvjFak2 X-Archives-Salt: ecf81da6-3228-4126-a75b-007c9df22384 X-Archives-Hash: 5f68eed6e780f34644acf465f898a200 --bcaec54eee3cdb0a1204da6af161 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable How many avocados does a tab represent? -A On Mon, Apr 15, 2013 at 4:10 AM, Aaron W. Swenson <titanofold@gentoo.org>wr= ote: > On Mon, Apr 15, 2013 at 08:15:08AM +0200, Pacho Ramos wrote: > > El lun, 15-04-2013 a las 07:21 +0200, Micha=C5=82 G=C3=B3rny escribi=C3= =B3: > > > On Sun, 14 Apr 2013 23:22:04 +0200 > > > Pacho Ramos <pacho@gentoo.org> wrote: > > > > > > > I noticed this problem now that joe was modified to comply with thi= s > > > > rule set in devmanual: > > > > > http://devmanual.gentoo.org/ebuild-writing/file-format/index.html#indenti= ng-and-whitespace > > > > > > > > It stated a tab represents 4 spaces. Where does this rule come from= ? > Why > > > > 8 spaces wasn't chosen instead? I say that because looks like 8 > spaces > > > > equivalence is used by tools like "cat", "less", even CVS reports i= n > > > > gentoo-commits show tabs as 8 spaces instead of 4. > > > > > > Hmm, does that have implications on anything else but counting line > > > width? > > > > > > > Well, I was a bit surprised an ebuild I was thinking was looking in a > > way, was really shown a bit different when, for example, simply running > > less over it :/ > > > > A tab is a tab. How wide it is, is up to you. The convention is that > four spaces should be replace by a tab. You can configure tab width > for your terminal with: > > setterm -regtabs 4 > > If you want to, that is. > > -- > Mr. Aaron W. Swenson > Gentoo Linux Developer > Email : titanofold@gentoo.org > GnuPG FP : 2C00 7719 4F85 FB07 A49C 0E31 5713 AA03 D1BB FDA0 > GnuPG ID : D1BBFDA0 > --bcaec54eee3cdb0a1204da6af161 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">How many=C2=A0avocados=C2=A0does a tab represent?<div><br>= </div><div style>-A</div></div><div class=3D"gmail_extra"><br><br><div clas= s=3D"gmail_quote">On Mon, Apr 15, 2013 at 4:10 AM, Aaron W. Swenson <span d= ir=3D"ltr"><<a href=3D"mailto:titanofold@gentoo.org" target=3D"_blank">t= itanofold@gentoo.org</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On M= on, Apr 15, 2013 at 08:15:08AM +0200, Pacho Ramos wrote:<br> > El lun, 15-04-2013 a las 07:21 +0200, Micha=C5=82 G=C3=B3rny escribi= =C3=B3:<br> > > On Sun, 14 Apr 2013 23:22:04 +0200<br> > > Pacho Ramos <<a href=3D"mailto:pacho@gentoo.org">pacho@gentoo.= org</a>> wrote:<br> > ><br> > > > I noticed this problem now that joe was modified to comply w= ith this<br> > > > rule set in devmanual:<br> > > > <a href=3D"http://devmanual.gentoo.org/ebuild-writing/file-f= ormat/index.html#indenting-and-whitespace" target=3D"_blank">http://devmanu= al.gentoo.org/ebuild-writing/file-format/index.html#indenting-and-whitespac= e</a><br> > > ><br> > > > It stated a tab represents 4 spaces. Where does this rule co= me from? Why<br> > > > 8 spaces wasn't chosen instead? I say that because looks= like 8 spaces<br> > > > equivalence is used by tools like "cat", "les= s", even CVS reports in<br> > > > gentoo-commits show tabs as 8 spaces instead of 4.<br> > ><br> > > Hmm, does that have implications on anything else but counting li= ne<br> > > width?<br> > ><br> ><br> > Well, I was a bit surprised an ebuild I was thinking was looking in a<= br> > way, was really shown a bit different when, for example, simply runnin= g<br> > less over it :/<br> ><br> <br> </div></div>A tab is a tab. How wide it is, is up to you. The convention is= that<br> four spaces should be replace by a tab. You can configure tab width<br> for your terminal with:<br> <br> =C2=A0 =C2=A0 setterm -regtabs 4<br> <br> If you want to, that is.<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> --<br> Mr. Aaron W. Swenson<br> Gentoo Linux Developer<br> Email : <a href=3D"mailto:titanofold@gentoo.org">titanofold@gentoo.org</a><= br> GnuPG FP : 2C00 7719 4F85 FB07 A49C 0E31 5713 AA03 D1BB FDA0<br> GnuPG ID : D1BBFDA0<br> </font></span></blockquote></div><br></div> --bcaec54eee3cdb0a1204da6af161--