Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2295326ybt; Fri, 3 Jul 2020 05:53:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC7XKis15J1gWtolBS2+82tUN65AVY8BEljo+F4NNgUci49Nz5iXaKqop5tWl4bdrq95RX X-Received: by 2002:a05:6402:1d18:: with SMTP id dg24mr41031664edb.33.1593780780883; Fri, 03 Jul 2020 05:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593780780; cv=none; d=google.com; s=arc-20160816; b=Vf6d/LV1o/VxltHpXrX+4resL9SkhQseRvAuhu1If3v0SE7WHctgc1vPgEEVlDPh0O biMZfa3b2dsdaXh3jNH0QB7smUIJi4uoBzOp6ueli7y/jubvU7FZKTpMFdD3uWSnQdHD AjQL2SgKjZ9sa0M9+kKjxavTldK/L1c/4xU6KrqlbjBr0EtHv/wJdYuUhyd4Rb67DIkq iUOnOnleuuJ1h1sUAJ5g9kKV7k2f5cSIXUA3LEszwoj3wmNsWdmMY9PMStGy43JJopNd gP3tWJqlfwaf5rNRB5X6h4/VObncqqqqE+xGKVclkFydOMDHsJzO/8elWFpXrwUQZTNX DkeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VMSzCqiPU0UwJ1IxHxA0ouN7RVM3z3sQz/cKALPThE8=; b=vQsCdpQjhQY9brPRMvFjwALnjHpsZN7vYOjCSIZ7bUJzlUl4Uy8UYcXuwtdIEE6Jeo SiS8Tyq1KRHWQAvmzu5WZLUmAvC5jOPNcsDft1pR/fxNBMRrhVrHno2k6GtGLebY6Jp8 43uFvyftZYo5lX0+IynHoqdcgs9VY5voulDbXXFWlZr4MfTS2c3AqhkT1WLXLhGY1wXS 2BcTwlUSJ/xBoC/7/TVNjaIbDiabJNqU+D0al7m7kUaMSZrNiSJLoOePbKhh+NyhI2+Q noStMOvDIaqT9ZsGvXrUXfwM+Mafp0pS+PNC6ulmJTwu4OgkDsMhXcOMmDcpUIbOQOL1 f3Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=qXX0f0LO; 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 j28si8555999edj.142.2020.07.03.05.52.37; Fri, 03 Jul 2020 05:53:00 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=qXX0f0LO; 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 S1726289AbgGCMtr (ORCPT + 99 others); Fri, 3 Jul 2020 08:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726035AbgGCMtr (ORCPT ); Fri, 3 Jul 2020 08:49:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F92EC08C5C1; Fri, 3 Jul 2020 05:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VMSzCqiPU0UwJ1IxHxA0ouN7RVM3z3sQz/cKALPThE8=; b=qXX0f0LOoxo/HMlK+xkEsj19uj ZBGcv1f03nhihT/+45lxEYy7mXw1jsKBmMf8bqC9GDB4wrVcvD4A05WeZUC6zTZ4v04wNki5LiZt3 suIpPJaVUQmgcS3dfP9yvXrw4WEX6/jeegsNlN47b20YG3XXFexSGoeQoa1rabELibqOJww9vsOZN AyMmFfWkp8oVs8QlyyJvXLTC9254GjtlmeboD1IgK/upsCAC834Qd1Q40AmsmFLklWNwpQfmfz/OC xdAvnpEvW9crxlRulpYs87eJW2qcP9iggcQStDMa9VbNh87SGEIlk+SwC0GenNn4yVk/29oq8B3mN QszlCi4A==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrL8N-0002iY-H2; Fri, 03 Jul 2020 12:49:39 +0000 Date: Fri, 3 Jul 2020 13:49:39 +0100 From: Matthew Wilcox To: Danny Lin Cc: Andrew Morton , Andy Whitcroft , Joe Perches , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] editorconfig: Add automatic editor configuration file Message-ID: <20200703124939.GG25523@casper.infradead.org> References: <16043769.gqpzGLO8mG@pinwheel> <20200703073143.423557-1-danny@kdrag0n.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200703073143.423557-1-danny@kdrag0n.dev> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 03, 2020 at 12:31:43AM -0700, Danny Lin wrote: > +# This avoids introducing too many unnecessary changes in trivial commits > +trim_trailing_whitespace = false I think we prefer trailing whitespace to be trimmed, even for trivial commits. > +# General 4-space files > +[*.{pl,pm,py,tc,json,tc}] > +indent_style = space > +indent_size = 4 > + > +# General 2-space files > +[*.{rb,rst,yaml,cocci,xsl,svg,bconf,clang-format}] > +indent_style = space > +indent_size = 2 The rst files I've seen either use tabs or three spaces for indent. Where did this 2 come from?