From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F69D1381F3 for ; 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 ; Mon, 15 Apr 2013 19:06:06 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id e12so4061199vbg.17 for ; 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: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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: Subject: Re: [gentoo-dev] About how many spaces a tab represents From: Alec Warner To: Gentoo Dev 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 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 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
How many=C2=A0avocados=C2=A0does a tab represent?

=
-A


On Mon, Apr 15, 2013 at 4:10 AM, Aaron W. Swenson <t= itanofold@gentoo.org> wrote:
On M= on, 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 w= ith this
> > > rule set in devmanual:
> > > http://devmanu= al.gentoo.org/ebuild-writing/file-format/index.html#indenting-and-whitespac= e
> > >
> > > It stated a tab represents 4 spaces. Where does this rule co= me from? Why
> > > 8 spaces wasn't chosen instead? I say that because looks= like 8 spaces
> > > equivalence is used by tools like "cat", "les= s", even CVS reports in
> > > gentoo-commits show tabs as 8 spaces instead of 4.
> >
> > Hmm, does that have implications on anything else but counting li= ne
> > width?
> >
>
> 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
> 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:

=C2=A0 =C2=A0 setterm -regtabs 4

If you want to, that is.

--
Mr. Aaron W. Swenson
Gentoo Linux Developer
Email : titanofold@gentoo.org<= br> GnuPG FP : 2C00 7719 4F85 FB07 A49C 0E31 5713 AA03 D1BB FDA0
GnuPG ID : D1BBFDA0

--bcaec54eee3cdb0a1204da6af161--