Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp968447rda; Sun, 22 Oct 2023 19:29:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnIMlcdmeOvxnKps4xtoQUl3Ztt/Ev6G6Iygl1jkSrTwqCcTSB6EGbB2lcK2nB66qL4F33 X-Received: by 2002:a05:6a20:b91b:b0:162:d056:9f52 with SMTP id fe27-20020a056a20b91b00b00162d0569f52mr7971515pzb.14.1698028153688; Sun, 22 Oct 2023 19:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698028153; cv=none; d=google.com; s=arc-20160816; b=jrHkTVrrYOsef6WNiSSvVaoGsBis1zcJo1ofBYmblThrWTpa4Ne7uIplJ3+r9ehJzW 4Wh2xePMvm0ikOh1ovXuP9gSU7/PeIigoZg3e8nJUFyF2pmpjgjClX2VISfNPpgkAUJT Svu9RW6e7d6DI1vEKstMaslIDOFvSMtPZXK1EVwRfFmvSzf/jI8nsEfvBEJt2gNc3+LG HAdaYaoQlciplzyd1gloSaqiElf30ZMQV7l/Ns4/+LYrxYfhh6Di7GRBr2/TA2FQibWP Ru8HbRK6JVy3TzJnsBsVIMWpXc0Igg6oNSO/11NQ+/9SzxU+rmW3Xs8FyLNq9BEdks3U 3+UA== 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 :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=0KOfgNJmYrOWne5jWp7m1xyXFQPilOG+H+n9z5Nrsz8=; fh=iZulkkjWewAkZjHPrgSs7ofQVa61oAJ+OGcTfxhCxkQ=; b=yQl0aM0lOCbIlwp0ym7rbBxQfGFr47+TQyAA6/LyILpLqw/dP/w7ELIPU++oSlL4Lg oCETh1CZcANOuha4NZPtPmN/QfP4EjmaXinQFcafCQlVrCaqcU8GuB7R+qaX+RMKiiy4 eq4zfJ7zp3I7m1UP1MdTW9yvYTAogS5BNuv9+fMkGKdUtCvxoPs72ENmjq7/kv0KoUCd 6KXoHiHf2ef27LlTHBB2vMBuapkrR2KmMsRNdAHvwnzyj/RoLfRFo/NZpdIafU/sbx3V iskPZmbYKqipHctOw6+QDYXfyCOk110DBfFDnyPRfkzd3ggnQiCPgxR9bQolAO8W5g0T v7EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=jWAAFjih; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bs2-20020a632802000000b005775e17f552si5394899pgb.249.2023.10.22.19.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 19:29:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=jWAAFjih; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B3623807E464; Sun, 22 Oct 2023 19:29:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229502AbjJWC3A (ORCPT + 99 others); Sun, 22 Oct 2023 22:29:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjJWC3A (ORCPT ); Sun, 22 Oct 2023 22:29:00 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BD9FE6 for ; Sun, 22 Oct 2023 19:28:58 -0700 (PDT) Received: from localhost (mdns.lwn.net [45.79.72.68]) (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 ECC8D60A; Mon, 23 Oct 2023 02:28:57 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net ECC8D60A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1698028138; bh=0KOfgNJmYrOWne5jWp7m1xyXFQPilOG+H+n9z5Nrsz8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jWAAFjihV2uD8LYGMb/nqxFyji8vcfEDHDP0VJVrBcCocO9cBq8WftcZ9S/sjLl65 1axvbJFTyxmahzM8QIre0mn2PPM92mZJtryDwSgFJg8so4SWuEwtjdoFyeauavP+BY ZVKZU20WGsPQNdho+Bhxcf2fI2KeXEtdSsCl5RA2oak1J3/956VabAjgZPebaoRz1w Wl3v2jmNS/rpRC1rHx3iVNMncDYeciB3gtnfeIkI4VyLWSOY3vfzX6P6WWsK83kf2p jVAYnsGeKoFnI3NSf1XQf4vORpkVqDF8B8hL+kGAvmY/wbIN+eO5V4epRAbJiWGPek 4L2EbgqNU/V2A== From: Jonathan Corbet To: Vincent MAILHOL , =?utf-8?B?w43DsWlnbw==?= Huguet Cc: ojeda@kernel.org, danny@kdrag0n.dev, masahiroy@kernel.org, jgg@nvidia.com, mic@digikod.net, linux-kernel@vger.kernel.org, joe@perches.com, linux@rasmusvillemoes.dk, willy@infradead.org Subject: Re: [PATCH v4] Add .editorconfig file for basic formatting In-Reply-To: References: <20230601075333.14021-1-ihuguet@redhat.com> Date: Sun, 22 Oct 2023 20:28:57 -0600 Message-ID: <874jiikr6e.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 22 Oct 2023 19:29:11 -0700 (PDT) Vincent MAILHOL writes: > On Thu. 1 June 2023 at 16:53, =C3=8D=C3=B1igo Huguet = wrote: >> EditorConfig is a specification to define the most basic code formatting >> stuff, and it's supported by many editors and IDEs, either directly or >> via plugins, including VSCode/VSCodium, Vim, emacs and more. >> >> It allows to define formatting style related to indentation, charset, >> end of lines and trailing whitespaces. It also allows to apply different >> formats for different files based on wildcards, so for example it is >> possible to apply different configs to *.{c,h}, *.py and *.rs. >> >> In linux project, defining a .editorconfig might help to those people >> that work on different projects with different indentation styles, so >> they cannot define a global style. Now they will directly see the >> correct indentation on every fresh clone of the project. >> >> See https://editorconfig.org >> >> Co-developed-by: Danny Lin >> Signed-off-by: Danny Lin >> Signed-off-by: =C3=8D=C3=B1igo Huguet >> --- > > Is there any news for this patch? I would really love this to become main= stream. I have concerns about this patch that I have expressed in the past. I'm not going to apply it... since it's a global change that affects all kernel developers, I don't think I *should* apply it. I would recommend sending it directly to Linus; if you can get an ack from him, I'll apply it then. Thanks, jon