From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22849 invoked from network); 4 Mar 2021 21:25:36 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Mar 2021 21:25:36 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id D7CD69CA71; Fri, 5 Mar 2021 07:25:33 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 8381C9CA68; Fri, 5 Mar 2021 07:25:05 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 5F8899CA68; Fri, 5 Mar 2021 07:25:01 +1000 (AEST) Received: from lax.lemis.com (www.lemis.com [45.32.70.18]) by minnie.tuhs.org (Postfix) with ESMTP id 8B4BC9CA67 for ; Fri, 5 Mar 2021 07:25:00 +1000 (AEST) Received: from eureka.lemis.com (unknown [121.200.11.253]) by lax.lemis.com (Postfix) with ESMTP id ECCAE280D0; Thu, 4 Mar 2021 21:24:59 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 460772635BE; Fri, 5 Mar 2021 08:24:59 +1100 (AEDT) Date: Fri, 5 Mar 2021 08:24:59 +1100 From: Greg 'groggy' Lehey To: Will Senn Message-ID: <20210304212459.GA6303@eureka.lemis.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: Organization: LEMIS, 29 Stones Road, Dereel, VIC, Australia Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: http://www.lemis.com/grog X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) Subject: Re: [TUHS] tabs vs spaces - entab, detab X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 4 March 2021 at 10:52:30 -0600, Will Senn wrote: > OK. So, I've been trying to decide (for the last time, I swear) whether > to use tabs or spaces in my code... I did a quick pulse-check on the > state of argument and it appears to be alive and well in 2021. FWIW, FreeBSD's style(9) man page (https://www.freebsd.org/cgi/man.cgi?query=style&apropos=0&sektion=9&manpath=FreeBSD+12.2-RELEASE+and+Ports&arch=default&format=html) includes: Indentation is an 8 character tab. Second level indents are four spaces. I've always used 8 character tabs (though in my own code I don't stick to style(9)). As others have commented, it's the Unix standard, and the confusion between tabs and spaces is bad enough without changing the relationship. Greg -- Sent from my desktop computer. Finger grog@lemis.com for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAmBBUCsACgkQIubykFB6QiMaeACdGuc0C2Tc91ZnulOwfN73i6gN +UkAn20jmFMEVl0I48AFZ+/PfLp+kW+B =IvpO -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--