Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp404113pxf; Thu, 25 Mar 2021 06:52:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5B0fFarz/8TVnVOvlPf+M30VBUQLC6usEPe/sX5AsWDUBrPad3NUE74OpTDp5c6PXmIvY X-Received: by 2002:a17:906:acb:: with SMTP id z11mr9652222ejf.193.1616680332087; Thu, 25 Mar 2021 06:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616680332; cv=none; d=google.com; s=arc-20160816; b=qhl323yNIhtIt5oVxOe4A1bcgRshCfD6JIwO6M1QkHo09PefyaQnWKpmPGeZ6vYCxG H6YlHsn+7Vut7oGqHfBVyVRQVxsq9/7KHJwNupcpPCg5mm30n3xwiq31g/ufwFIPnRHw AU5gw4mwiKT1EateHsBxYtxVyYm9HSCEuAz0XjjmkAOp5EZKtay0hX6bY33mfRZPsMSc bIW9W0/j2ZDS8nb37g0xjqEEt7/SLjk8H/EES5zGWJRQ8xMx1IuOGezQQXmy+jQ1alIj xsgUHp2Zc1RqcrEdNc4HDEzzmM+J0c2DlegpcVMczIV4IZu7pjYBSz8GQ7jrxgMeX2rj IIZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=7c7gDUKCQAF2oj0+pPa1/IbsDbqcuincUbramdGrg7Y=; b=qIgaOOi4FVlCPfhSqKImFa4PUVluv9R4Beczw9J485Tj9PUgi/J5Z1Qe9hU7Z878IR bpJ76PP8Y4HQ50XAmAwL2KVGOKRnZFW3bT6ktGzhG50FApWIfy2nH9H0C0LrOOwuwVrR Na/9K2XSpZJkkJk/ETLyLwxdagbptwe/p4VYYtr10iKo8dwpwpmnrDPAzeRR2WGIOL4V XvyKCyYJ7Y4tVIyEvqSmVOtBjJ2JUU7l/8Sebqwfn4xF8jCG3GL2ca21zIy2JwrjTBwm lmjEK041WJLErurEt6DgWwgPwEVuNselrHey7b0j7EJCfhwKleBbuuAvJqVaTvbMTFPx 7WFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si4364421ejx.558.2021.03.25.06.51.49; Thu, 25 Mar 2021 06:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbhCYNuv (ORCPT + 99 others); Thu, 25 Mar 2021 09:50:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:58458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230095AbhCYNum (ORCPT ); Thu, 25 Mar 2021 09:50:42 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 74D9B61A1A; Thu, 25 Mar 2021 13:50:41 +0000 (UTC) Date: Thu, 25 Mar 2021 09:50:39 -0400 From: Steven Rostedt To: Masahiro Yamada Cc: Linux Kernel Mailing List , Linux Kbuild mailing list , Andrew Morton , "John (Warthog9) Hawley" Subject: Re: [PATCH 2/2] streamline_config.pl: Add softtabstop=4 for vim users Message-ID: <20210325095039.7202d675@gandalf.local.home> In-Reply-To: References: <20210322213806.089334551@goodmis.org> <20210322214032.293992979@goodmis.org> <20210324095417.49c6377b@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Mar 2021 15:20:13 +0900 Masahiro Yamada wrote: > > The root cause of inconsistency is that > you mix up space-indentation and tab-indentation. > I do not know if it is a standard way either. This is the default way emacs has edited perl files for as long as I can remember (back to 1996). It became my standard of editing perl files just because of that. For everything else, I use tabs. > > For example, scripts/checkpatch.pl uses only tabs, > which I think is more robust. Probably because Joe probably uses vim ;-) > > Unfortunately, we do not have standardized indentation style > for scripts yet, and people can go in any direction. > > The editorconfig patch [1] proposed to always use 4-space > indentation for *.pl files. > (that is, do not replace 8 spaces with a tab). I rather have all tabs, or the tab and spaces. I find 8 spaces to be a waste of memory and disk space. > > I do not know whether the kernel will adopt .editorconfig or not, > but if that patch is applied, your 1/2 will be a step backward. My 1/2 only made it consistent, as the original code had the tab/spaces mix and just a few lines that were modified by others broke it by adding all spaces. > > My got-feeling is, you will never reach the goal as long as > you adopt a strange indentation style, which is obscure > to other contributors. I'm guessing this is not strange to other perl developers who uses emacs. > > Not all people use vim. I don't use it either. I was trying to make vim match emacs. Of course for those that use something else, it wont help. I'm curious, what's your main editor that you use? > I am not interested in 1/2 either. OK. > > If you insist on this patch set, apply it to your tree > and send a pull request by yourself. I'm fine with that. > > > [1]: https://lore.kernel.org/lkml/20200703073143.423557-1-danny@kdrag0n.dev/ Thanks for the link. -- Steve