From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_12_24,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from smtp08.iafrica.com ([196.2.51.8]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 162azk-0007Lz-00 for gentoo-dev@cvs.gentoo.org; Sat, 10 Nov 2001 09:28:38 -0700 Received: from nosferatu.lan ([196.30.179.152]) by smtp08.iafrica.com (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GML00N30F2H4N@smtp08.iafrica.com> for gentoo-dev@cvs.gentoo.org; Sat, 10 Nov 2001 18:28:02 +0200 (SAT) From: Martin Schlemmer Subject: Re: [gentoo-dev] Re: All Developers! In-reply-to: To: gentoo-dev@cvs.gentoo.org Message-id: <1005409882.3249.8.camel@nosferatu.lan> MIME-version: 1.0 X-Mailer: Evolution/0.99.0 (Preview Release) Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-lolzBhNy/W7Efn7Y8sW2" References: <1005392055.10442.2.camel@zoidberg> <20011110165601.1b5869a1.karltk@prosalg.no> <1005406570.28610.0.camel@zoidberg> Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat Nov 10 09:29:01 2001 X-Original-Date: Sat, 10 Nov 2001 18:31:15 +0200 X-Archives-Salt: 4ae13940-e288-48e9-8cbd-8fbc6788bdd3 X-Archives-Hash: f63e840cf3a98546e2ed79ca80f7c3d4 --=-lolzBhNy/W7Efn7Y8sW2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2001-11-10 at 18:03, Andreas Voegele wrote: > Mikael Hallendal writes: >=20 > > We should write some spec. on how ebuilds should look like > > (guidelines for style) and then make a emacs and a vi mode for > > editing ebuilds that controls the style. >=20 > If only tabs and *no* spaces were allowed at the beginning of lines it > would be very easy to check ebuild scripts for wrong spaces. >=20 > We could rip the required code from the Emacs Makefile mode, which > checks for suspicious tabs and highlights these areas when a user > tries to save the Makefile. >=20 > BTW, if a single tab was used in front of dependencies the output > would look like this: >=20 > tabwidth 4: >=20 > DEPEND=3D"virtual/glibc > virtual/x11 > RDEPEND=3D"virtual/glibc > virtual/x11 >=20 > tabwidth 8: >=20 > DEPEND=3D"virtual/glibc > virtual/x11 > RDEPEND=3D"virtual/glibc > virtual/x11 >=20 > IMHO both outputs look good, and with this solution developers could > still set the tabwidth to 4 or 8. >=20 > --=20 > Andreas true, but that is not a problem, take for instance: make prefix=3D${D}/usr \ sysconfdir=3D${D}/etc \ localstatedir=3D${D}/var/lib \ install || die this is how Hallski and I do things (with a tabwidth of 8) Now take the same piece with a tabwidht of 4: make prefix=3D${D}/usr \ sysconfdir=3D${D}/etc \ localstatedir=3D${D}/var/lib \ install || die=20 The '\' is not aligned anymore. this is however a simple example, as other ebuilds gets ripped out of form more. Greetings, --=20 Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa --=-lolzBhNy/W7Efn7Y8sW2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA77VZSlsNeMtCTD6kRAj7PAKCIH3S1AW3u/grmy+i8VVxcl0TNnQCeM6mI sb3kyOKl49Jcco12OV3zAlc= =Lzjp -----END PGP SIGNATURE----- --=-lolzBhNy/W7Efn7Y8sW2--