Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1if4QJ-0004jr-UR for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Dec 2019 16:01:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1if4QI-0000FM-M3 for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Dec 2019 16:01:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1if4QI-0000FF-9f for pgsql-hackers@lists.postgresql.org; Wed, 11 Dec 2019 16:01:10 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1if4QB-0004iJ-K4 for pgsql-hackers@postgresql.org; Wed, 11 Dec 2019 16:01:09 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 3F0C4BE for ; Wed, 11 Dec 2019 11:01:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 11 Dec 2019 11:01:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=lDpSYenLBxolCS4al9Idf25r+VThs jYHQtAFLMjrnBg=; b=Hz3KUDGa9gfrOWg9MQlCp4kXKEE3FQZD5nvDWQZMCtO3g F/9w94XxZPqAj8MtTlzb8sohfpnFAbSxXXwcxK6RqJF+Nu2c9+ZvryVijHAaMPC3 TRScAI7I+9IsTxYM3H71/NNukozDx66/Gl0z0A44LgWSVfJVW0ATch0CYGbRL45B o1ElF9DBfAl+FC5jI0tvXLdTOYst8tu44TWIOb8zUJd+U05ieTevE8yUHelVYS2v MrvqANxzLf0YF7o3DAmI0wdks7q8ikZ0M8j71b14R8SsgU/mcnPrrGaEHsof7Ecl hzHt6mJL68HfdS8zpilYXNjZBb/OGyjRw2sPzXQqA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelhedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefvhffuohfkffgfgggtsehmtderre dtfeejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgv ihhsvghnthhrrghuthesvdhnughquhgrughrrghnthdrtghomheqnecuffhomhgrihhnpe dvnhguqhhurggurhgrnhhtrdgtohhmpdhpohhsthhgrhgvshhqlhdrohhrghenucfkphep leefrddvgeefrdefgedrleelnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrd gvihhsvghnthhrrghuthesvdhnughquhgrughrrghnthdrtghomhenucevlhhushhtvghr ufhiiigvpedt X-ME-Proxy: Received: from april.pezone.net (p5df32263.dip0.t-ipconnect.de [93.243.34.99]) by mail.messagingengine.com (Postfix) with ESMTPA id D4E4180065 for ; Wed, 11 Dec 2019 11:01:00 -0500 (EST) To: pgsql-hackers From: Peter Eisentraut Subject: Add .editorconfig Organization: 2ndQuadrant Message-ID: <273cb788-bbb2-ff34-ad6f-5192b44e5049@2ndquadrant.com> Date: Wed, 11 Dec 2019 17:00:59 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------047EC0491C8FE09425FCA4CD" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------047EC0491C8FE09425FCA4CD Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit There were a couple of recent threads that wanted to add an .editorconfig file but never actually ended up doing so.[0][1] Here is a patch. It is meant to match more or less what's in .dir-locals.el. I have only tested this with the GitHub view, not with an actual editor. [0]: https://www.postgresql.org/message-id/flat/20180605172252.GA2433%40fetter.org [1]: https://www.postgresql.org/message-id/flat/20180529153617.c72llpzbvt46chr6%40alap3.anarazel.de -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --------------047EC0491C8FE09425FCA4CD Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-Add-.editorconfig.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Add-.editorconfig.patch" RnJvbSBmY2Y2NmY4YTJlMjk4MThiNTViMGYyYzQ3NTRiZDhiZWYxNWJjNTQ2IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRlciBFaXNlbnRyYXV0IDxwZXRlckBlaXNlbnRy YXV0Lm9yZz4KRGF0ZTogV2VkLCAxMSBEZWMgMjAxOSAxNjo1Mzo0OCArMDEwMApTdWJqZWN0 OiBbUEFUQ0hdIEFkZCAuZWRpdG9yY29uZmlnCgotLS0KIC5lZGl0b3Jjb25maWcgfCAxNCAr KysrKysrKysrKysrKwogMSBmaWxlIGNoYW5nZWQsIDE0IGluc2VydGlvbnMoKykKIGNyZWF0 ZSBtb2RlIDEwMDY0NCAuZWRpdG9yY29uZmlnCgpkaWZmIC0tZ2l0IGEvLmVkaXRvcmNvbmZp ZyBiLy5lZGl0b3Jjb25maWcKbmV3IGZpbGUgbW9kZSAxMDA2NDQKaW5kZXggMDAwMDAwMDAw MC4uZDY5YTNkMWRjNAotLS0gL2Rldi9udWxsCisrKyBiLy5lZGl0b3Jjb25maWcKQEAgLTAs MCArMSwxNCBAQAorcm9vdCA9IHRydWUKKworWyoue2MsaCxsLHkscGwscG19XQoraW5kZW50 X3N0eWxlID0gdGFiCitpbmRlbnRfc2l6ZSA9IHRhYgordGFiX3dpZHRoID0gNAorCitbKi57 c2dtbCx4bWx9XQoraW5kZW50X3N0eWxlID0gc3BhY2UKK2luZGVudF9zaXplID0gMQorCitb Ki54c2xdCitpbmRlbnRfc3R5bGUgPSBzcGFjZQoraW5kZW50X3NpemUgPSAyCi0tIAoyLjI0 LjAKCg== --------------047EC0491C8FE09425FCA4CD--