Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2281444ybt; Fri, 3 Jul 2020 05:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVQDHoi3n6/7RyyYT3XwM9BqKu7kZbCEd8Xf9HwE1KAvj1l39mPDPn33tum3/ZL/2m55qZ X-Received: by 2002:a05:6402:21c2:: with SMTP id bi2mr39956369edb.296.1593779480210; Fri, 03 Jul 2020 05:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593779480; cv=none; d=google.com; s=arc-20160816; b=Kjc8JWwcWuBy+9sJ331CBQlkzVziLjgdmL+sHUyxTvpXrF3xHymg55oNnYtrF1E2xe kdjxAuBh0hX8wfbK6HlJ22sWE5GeE+erFelGpgW7IIvn2FeFM20mo0831tdJ1ypr6izO cWv3MrTC1p5IZOSsfCwGLGBfcobRqzxcRB2i07vT80HRjafi7vMN828GQ52xlyw7xKSe D2rseGJBtHYDx4qGWKFGgl8jVlSe1sN8mYkiXkncYZuqYnwy8K6Fxk4LIvCCvQ4Y2+0S Vtif4voxb0QqZCWd/H8JvinPzk6C/4SuaI6UgocKJP3v4aW7BJr8emqLqS9rAXIpCyGZ xjvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=TSDRK1ej0/ahz71fkORkIdKeEJkKZuCvYcsAT3KN1a8=; b=MWLsu0jZ8+l4/SNOC5mnRmBxqgUvrtYciT9l+UgMH+hEV+GuN4MDCRt3nIj9GPV45Q Kp7EcW8fgOSQPEWgWz5CEDKvjo5twLUFdbtLzsT0S8ukIfYDA1zadpErjrFfvHkN1uup ptLM+fIpcxFSzUOKszUPOy5kxS21sy1h1DweYpn0mpfi81IxXAa5Rukk433VXEw/Hcr0 BonuK7ttmEUz5f44R+Pjwe847m6eG5jsfSwkcmCBXk2z7KIgXUsnuRp/SnOagwjn06EQ l2zXrkiVOfPOcFjS/VMAxdhRhmgO5T4jyZUfEcQHgxeW8/bItfVGKvpKH6bRPaghBt4j PtHg== 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 du7si10173023ejc.341.2020.07.03.05.30.57; Fri, 03 Jul 2020 05:31:20 -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 S1726382AbgGCM3v (ORCPT + 99 others); Fri, 3 Jul 2020 08:29:51 -0400 Received: from ms.lwn.net ([45.79.88.28]:43246 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726022AbgGCM3v (ORCPT ); Fri, 3 Jul 2020 08:29:51 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 28DF7384; Fri, 3 Jul 2020 12:29:51 +0000 (UTC) Date: Fri, 3 Jul 2020 06:29:50 -0600 From: Jonathan Corbet To: Danny Lin Cc: Andrew Morton , Andy Whitcroft , Joe Perches , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] editorconfig: Add automatic editor configuration file Message-ID: <20200703062950.5e8c1785@lwn.net> In-Reply-To: <20200703073143.423557-1-danny@kdrag0n.dev> References: <16043769.gqpzGLO8mG@pinwheel> <20200703073143.423557-1-danny@kdrag0n.dev> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Jul 2020 00:31:43 -0700 Danny Lin wrote: > EditorConfig is a standard for defining basic editor configuration in > projects. There is support available for 47 code editors as of writing, > including both built-in and extension support. Many notable projects > have adopted the standard already, including zsh, htop, and qemu. > > While this isn't a full-fledged C code style specifier, it does set some > basic ground rules that make it more convenient for contributors to use > any editor of their choice and not have to worry about indentation, line > endings, encoding, final newlines, etc. This should make it > significantly easier to conform to the kernel's general code style when > used in combination with clang-format. > > For more information, check the official EditorConfig website: > https://editorconfig.org/ > > Signed-off-by: Danny Lin > --- So I worry a bit that not everybody will welcome the addition of a dotfile that may be magically interpreted by their editor. I also worry that the file itself could become a battleground for people wanting to argue about style issues. Perhaps I worry a bit too much...? jon