From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev+bounces-59693-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 920BC1381F3 for <garchives@archives.gentoo.org>; Mon, 15 Apr 2013 11:11:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98F34E08BF; Mon, 15 Apr 2013 11:10:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1165E08B2 for <gentoo-dev@lists.gentoo.org>; Mon, 15 Apr 2013 11:10:51 +0000 (UTC) Received: from localhost (unknown [IPv6:2001:470:8:e5f:a00:27ff:fec6:483e]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: titanofold) by smtp.gentoo.org (Postfix) with ESMTPSA id A27B233BF5F for <gentoo-dev@lists.gentoo.org>; Mon, 15 Apr 2013 11:10:50 +0000 (UTC) Date: Mon, 15 Apr 2013 11:10:48 +0000 From: "Aaron W. Swenson" <titanofold@gentoo.org> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] About how many spaces a tab represents Message-ID: <20130415111047.GB5854@gengoff.local.grandmasfridge.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <1365974524.26280.2.camel@localhost> <20130415072130.37a813d8@pomiocik.lan> <1366006508.26280.3.camel@localhost> 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <1366006508.26280.3.camel@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: c5485b17-bfef-49e9-b34c-a9dbd2048fba X-Archives-Hash: 46d07f4169c49792bf6120fe8491e565 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > >=20 > > > I noticed this problem now that joe was modified to comply with this > > > rule set in devmanual: > > > http://devmanual.gentoo.org/ebuild-writing/file-format/index.html#ind= enting-and-whitespace > > >=20 > > > 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 in > > > gentoo-commits show tabs as 8 spaces instead of 4.=20 > >=20 > > Hmm, does that have implications on anything else but counting line > > width? > >=20 >=20 > 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 :/ >=20 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. --=20 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 --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlFr4DcACgkQVxOqA9G7/aBmYQD7BjNlVbrBvV1hYM9nvwUHO1ec 6OcE2d+EuVbGifhZQPQBAIMRj2PmKnAjVSHAtckOybGJcQvcWRAIYuP5e7NaXGWf =8Tz6 -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--