From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from crunch.banyandesign.com (unknown [209.12.56.114]) by chiba.3jane.net (Postfix) with ESMTP id CEBE0AC3E5 for ; Sat, 27 Apr 2002 17:40:10 -0500 (CDT) Received: from gentoo.org (adsl-157-144-168.gnv.bellsouth.net [66.157.144.168]) by crunch.banyandesign.com (8.10.0/8.10.0) with ESMTP id g3RMeNE11531 for ; Sat, 27 Apr 2002 18:40:26 -0400 Message-ID: <3CCB28C6.7050409@gentoo.org> Date: Sat, 27 Apr 2002 18:40:06 -0400 From: William McArthur User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020423 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Ebuild indentation (tabs vs. spaces) fascism ;^) References: <87elh07pmy.fsf@tea.thpoon.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: e65e7cf7-80f9-4556-960c-8fe681ea5871 X-Archives-Hash: 090271ae1042c815487e53149af7d829 Arcady Genkin wrote: > Two questions: > > 1. What makes tabbed indentation in ebuilds so much better than > indentation with spaces? I know *plenty* of reasons *against* using > tab characters, but I must be missing something obvious, because I > know no reasons in favor of tabs. I have no preference of one over the other but I prefer one over both. > 2. Even if it turns out tabs are somehow better than spaces, why do > we want to be so fascist[1][2] about it? Why don't we let the ebuild > maintainer to decide which approach suits his philosophy, editor and > habits? We can still require that all indents are 4 spaces wide; I'm > only talking about tabs/spaces issue. Because any large project must maintain a level of consistencey. While tab vs spaces is a minor issue it is part of a larger whole and as such is important. My mother used to pound in to me: "Mind your pennies and your dollars will take care of themselves." I don't know who she was quoting but the same logic applies here. Where there isn't any place I know of the specificly spells out the tab/space usage in an ebuild if you look at /usr/portage/skel.ebuild you will see that tabs are uses. > Footnotes: > [1] Talking about bulk force-tabbifying ebuilds. > [2] Please note the smiley in the subject line before you stone me > for my choice of words. Sandy McArthur