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=2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 24730 invoked from network); 4 Mar 2021 21:44:05 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Mar 2021 21:44:05 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 1A00B9CA8E; Fri, 5 Mar 2021 07:44:01 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 646609CA68; Fri, 5 Mar 2021 07:43:42 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jQiIUQvF"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 2B9A19CA68; Fri, 5 Mar 2021 07:43:40 +1000 (AEST) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by minnie.tuhs.org (Postfix) with ESMTPS id 484A59CA67 for ; Fri, 5 Mar 2021 07:43:39 +1000 (AEST) Received: by mail-ot1-f53.google.com with SMTP id h10so18146707otm.1 for ; Thu, 04 Mar 2021 13:43:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ub0dsAnpb5wBNIRKguv5asEJoDA7k0j4SqBm1Qb5A+I=; b=jQiIUQvFxkKhJ4ebj+zL9WOnKlIvPSmDLekjwbnlHPKvvEP0cqcm90jiEWPIOw5jgl 7bY674q1diwn3Chhmo8wIHSjJk09ztQMJGFIZE5AXZlsx2zvz0yINSdXnotff7LFvVp6 yL56n4O0FqVXuR0L+GokRsq8CaPm8Y81crZbXCcHifn1NMcagK6c6TqbD1z/IIZey240 bQnAJdZHvzPwajqafnOkqSjFM/3OnErmC8g0lOQ2QT4OGJcbtdpTRqm55p1BLC7NqDfH xDuDaOht/htjkN0QKLkwHCP7puUjOR0lv6F+Qmy/17aGE/gaiCtbrAQk1BMgasWEvIKs 1eLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ub0dsAnpb5wBNIRKguv5asEJoDA7k0j4SqBm1Qb5A+I=; b=q75cQAd9b9gY0oOovGG/S+E2WV7OY7xpLcBnZswq2h+fNgk3d26cv2bLGh3g1UhZST 2b43n59SQFnMGWRWbn5XZZ+AqrrW3Go9Xtn+lLtPMGcwUtlWgXVYQDqe+7R4LKbBH4zN Q3BLClkWrvvPxUbSngyjEvk7JrotTahNWGLVCdUeO71RvNJNSgGJty3/799JIdPSQRHI zr2ix0JkeZR8V439+mnV4VlAwxeMdThUgs7ekiWPzeFreB2a0RUoB+jl7HvfNhnHwTLP UsxHgcg9DN8545sLEtPROHamsaE1yuKZWcMrp/YJxBoQjmHT4ggDv+Fh4gI2+dx+YEcT 5nvg== X-Gm-Message-State: AOAM533eUtsVzgaCCMGfSV91+jfgmq60OIWzXx5FKFPzYO6iKUV3o87+ 6unQf7wmJFMGcSPXtaZB0tmm9MlJJe1DzG8F X-Google-Smtp-Source: ABdhPJxTnQnG/VnJMLS8bM2U73n/Y5VewXA1i2wmfU2MDjktIgqrPUK2ohnSsVD1WWaJrRUt8FNtgQ== X-Received: by 2002:a9d:6308:: with SMTP id q8mr4990240otk.160.1614894218495; Thu, 04 Mar 2021 13:43:38 -0800 (PST) Received: from [10.245.13.71] ([107.242.112.48]) by smtp.gmail.com with ESMTPSA id y27sm89950oix.37.2021.03.04.13.43.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Mar 2021 13:43:37 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) From: Will Senn X-Mailer: iPhone Mail (16H22) In-Reply-To: <20210304212917.GB6303@eureka.lemis.com> Date: Thu, 4 Mar 2021 15:42:38 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <1B118B2A-F22E-4A0E-9982-EDCCA74C33CF@gmail.com> References: <20210304212459.GA6303@eureka.lemis.com> <20210304212917.GB6303@eureka.lemis.com> To: Greg 'groggy' Lehey 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" Sent from my iPhone > On Mar 4, 2021, at 3:29 PM, Greg 'groggy' Lehey wrote: >=20 >> On Thursday, 4 March 2021 at 15:27:27 -0600, Will Senn wrote: >>> On 3/4/21 3:24 PM, Greg 'groggy' Lehey wrote: >>> FWIW, FreeBSD's style(9) man page >>> (https://www.freebsd.org/cgi/man.cgi?query=3Dstyle&apropos=3D0&sektion=3D= 9&manpath=3DFreeBSD+12.2-RELEASE+and+Ports&arch=3Ddefault&format=3Dhtml) >>> includes: >>>=20 >>> Indentation is an 8 character tab. Second level indents are four >>> spaces. >>>=20 >>> 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. >>=20 >> Wow, mixed tabs and spaces? On purpose? That's nuts :). >=20 > FWIW, I do this in my own code too. Once you know about it, it's not > an issue. It helps to have an editor that highlights tab characters. >=20 > Greg > -- >=20 There=E2=80=99s a thought, highlight the pesky things. I usually hunt for th= em after they become an issue, but turning on a highlight is way better than= my editor=E2=80=99s =E2=80=9Cshow invisibles=E2=80=9D function that puts a f= unky dash where tabs are... not invisible, just obfuscated.=