Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A74EEB64D8 for ; Wed, 14 Jun 2023 01:16:41 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web11.1407.1686705393674140655 for ; Tue, 13 Jun 2023 18:16:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=m0YYLeLZ; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: rs@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35E1GOD1117352; Tue, 13 Jun 2023 20:16:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686705384; bh=MZn3gH277rIay1GU9HUpLoy3xfOVWLqflXneGYhhHNk=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=m0YYLeLZGQrgBeLDENZ4LW/naQ2YmEIcqm2GysEYYILCmQj1AF9rREUSajsIA3ElK HM4JkpeXk69Lfms9Be3HGmbPwAxIsuu/5JbFp1YTb55okCRfx+yCgY/NdeOw2EaYcv my0+YPTBdz/fhm6cBUGa02OCaITmXLjosF/hZncU= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35E1GOD1003453 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Jun 2023 20:16:24 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 13 Jun 2023 20:16:24 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 13 Jun 2023 20:16:23 -0500 Received: from [128.247.81.144] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35E1GOZ1028822; Tue, 13 Jun 2023 20:16:24 -0500 Message-ID: Date: Tue, 13 Jun 2023 20:16:24 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [EXTERNAL] Re: [OE-core][PATCH 4/6] weston-init: fix the mixed indentation Content-Language: en-US, en-US-large To: Alexander Kanavin , Peter Kjellerstedt CC: "richard.purdie@linuxfoundation.org" , "reatmon@ti.com" , "denis@denix.org" , "alexandre.belloni@bootlin.com" , "openembedded-core@lists.openembedded.org" References: <20230610011339.3716428-1-rs@ti.com> <20230610011339.3716428-5-rs@ti.com> <176801038AB94927.4582@lists.openembedded.org> From: Randolph Sapp In-Reply-To: <176801038AB94927.4582@lists.openembedded.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 14 Jun 2023 01:16:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/182728 On 6/12/23 14:46, Randolph Sapp via lists.openembedded.org wrote: > On 6/12/23 05:05, Alexander Kanavin wrote: >> On Mon, 12 Jun 2023 at 11:58, Peter Kjellerstedt >> wrote: >>> Well that is of course an option, but then it may get messy if different >>> people have different preferences and start changing the indentation >>> back >>> and forth... >> >> I suppose changing indentation needs to be justified by for example >> achieving consistency in the same code block (as it does here, which >> is fine), and it never should be mixed in with functional changes. >> What I don't want is lots of empty code churn that doesn't actually >> make things more readable than they already were, and is more or less >> an exercise in pedantic neat freakery. >> >> Alex > > I frankly don't like the concept of mixed indentation in the same file, > let alone the same code block. The only thing really driving me to > change it here was the lack of git attributes to define the project > standard, nvim is attempting to enforce the 4 space standard from python > over the entirety of bitbake recipes (which I think is fairly sane), and > the variance of standard in this code block. > > I have no preference. So long as there is a standard, I will bow to it. > > Randolph > I noticed master didn't pick up any patches past this one. I take it you want me to reformat this to the current tab shell block standard?