Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1032857rda; Sun, 22 Oct 2023 23:19:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbZa2RuXGWLHiYSQdb+uOcMNyQz5nPsELnq69GnB0iqRAnOafiNi27yAuOkzNnhoarCfFN X-Received: by 2002:a17:902:cf4f:b0:1ca:64f:35ff with SMTP id e15-20020a170902cf4f00b001ca064f35ffmr5679870plg.48.1698041948078; Sun, 22 Oct 2023 23:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698041948; cv=none; d=google.com; s=arc-20160816; b=rZGrgU76hcgbmKsYGAqnSrfsxiU9RYqcW3/PY+IvPvYjJnHhxMladRKuriFcYOROSS sJDTVbsIddCGVZCDMApP4OoVtgB9pB2i5mktJ275tSI7YLAMffrniu9VJKYNPegFXKL7 6+FHdDrCoX9iuVWiYWrtrkZl2+YP04gnCtxPwSZXYD8g9ufRjWjGihBc0I8qL2gQZDeB V62Iy6omiFGNebl9kyPOopZhyjGk01JQ5nt4t+yR8c0isuFZKrpCPQJPIoHFYA+g4lCp evm+vOkkAc5sVomFRg23X8zQkmk+OeQ9lvHWCj+hBrbnjIIowul8xv3R8q/wk+Q0rX4C /dAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=NfsIs8esUz3tLoMfptqIdazsm+h+jfzN/cs4XBBUCmU=; fh=kUI+2j+RuobbowG+stQs2yi7T7wRk3kzYt7aU/peGOQ=; b=Dfe0mgW+jhxyQrzjnd5zlvRUCDdKLqp7VLePrBX1OduLc+WpkXDNF1D8F1f2lY2K8b mIDMprzaFcPvjc0Yir6zvAfSb4kq2RCzayYawLrFv35kGhD+sL0A58zC5Cu/PFMmpU+t FF3xQbgpeRrU+aXU3B8ndMl4pjuNSbJ5j+WtUtXWqPRjyXKj8iY9bmyYSauBLgayte5v woikInuz4MQSq8nVzZjytY5zuCyVottyL+CJHpbppmY8GX+gJaXf6hiJ5bxoBktIttEe Io4TvTHye79GZ7fiyL+aE3B8Gm3dGEgfzkRd+6PEaO0mePeDKp87CX6rR5qsrHPbkl1z Ubww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j8-20020a170903024800b001c752da513asi5773563plh.405.2023.10.22.23.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 23:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 64E7D8062BAE; Sun, 22 Oct 2023 23:19:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233356AbjJWGS5 convert rfc822-to-8bit (ORCPT + 99 others); Mon, 23 Oct 2023 02:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233373AbjJWGS4 (ORCPT ); Mon, 23 Oct 2023 02:18:56 -0400 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D37AA10C0 for ; Sun, 22 Oct 2023 23:18:53 -0700 (PDT) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-5aaebfac4b0so1438463a12.2 for ; Sun, 22 Oct 2023 23:18:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698041933; x=1698646733; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oY3KVPJZDN5B1mC9ixo9DAttDXi3GZI2y9Bgw45cDd8=; b=kra93MhIcI+mzB/pWjDEw/DiSRzmPh49bgNFYBnEybM1GwWl0kuwtzvp7DUqn9clvn VrwyJQq6yezjrZDJBM37EgVxGrKJIiYX/3HOZ5z2Q4em/w3A9VjCpaEigzRTQRyz9Ucx o1efhOa/C09tLZstcVGgHKgSObXy1vBhfdzDqrDliggJGrwwZnSk4FzA9exOQoq/p+Og ArC/Wi/TLf6pgS6xCmE+9q4vIRrs2ZCMEdQaVjb3FYkcqovpwEemj/W4BsHfEfc6hVFo SpBC0gWZocbci9HHqsa+H36GlaMEsyJhg8mCWRdLHsCieF7/kgxzLGVncH0wbxMQUYpN 8/XQ== X-Gm-Message-State: AOJu0YxCTjge+Nh97u2UAbGWSi6qWEkms/74evFeySrGFzRHe2uIWt0m FL8R6fofJu7MExv0sZDutK/7KajC4cN7O/V8vcw= X-Received: by 2002:a17:90b:3a8c:b0:27d:dc9:be7a with SMTP id om12-20020a17090b3a8c00b0027d0dc9be7amr5774303pjb.7.1698041933041; Sun, 22 Oct 2023 23:18:53 -0700 (PDT) MIME-Version: 1.0 References: <20230601075333.14021-1-ihuguet@redhat.com> <874jiikr6e.fsf@meer.lwn.net> In-Reply-To: <874jiikr6e.fsf@meer.lwn.net> From: Vincent MAILHOL Date: Mon, 23 Oct 2023 15:18:41 +0900 Message-ID: Subject: Re: [PATCH v4] Add .editorconfig file for basic formatting To: Jonathan Corbet , =?UTF-8?B?w43DsWlnbyBIdWd1ZXQ=?= 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.9 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 22 Oct 2023 23:19:05 -0700 (PDT) On Mon. 23 Oct. 2023 at 11:28, Jonathan Corbet wrote: > Vincent MAILHOL writes: > > > On Thu. 1 June 2023 at 16:53, Íñigo 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: Íñigo Huguet > >> --- > > > > Is there any news for this patch? I would really love this to become mainstream. > > 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. Hi Jonathan, Thanks for the comment, message taken. Hi Íñigo, The last version of the patch being from you, would you like to bring the topic to Linus yourself or shall I do it instead? Yours sincerely, Vincent Mailhol