Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvDJS-0001cs-3w for pljava-dev@arkaria.postgresql.org; Tue, 14 Jul 2020 05:17:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jvDJR-0006Un-2E for pljava-dev@arkaria.postgresql.org; Tue, 14 Jul 2020 05:17:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvDJQ-0006UA-Ta for pljava-dev@lists.postgresql.org; Tue, 14 Jul 2020 05:17:04 +0000 Received: from anastigmatix.net ([68.171.219.55]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jvDJO-0002bD-CU for pljava-dev@lists.postgresql.org; Tue, 14 Jul 2020 05:17:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IaLecZvTr05bXCsfbbc9EmSrwOEppUOCcdvmIO0pw4E=; b=qnZGCG0KJwiOxwir0IKWT97Ppa /xmN32ipPhjO6pJUei+KWfMo29MnG8DhlZSvUSI+B5vKqGTtq5fxBILQn5SvSCSDVfsAj+YUSZoTk CyKVd2aB8c5aPjSC7aqLXZ8KDJD5twF2yQ7VOpQjAxdRqPbMPLg6UPOK+IibsQBVDHIhfqeoPb1Gk nRE14zPHhlLQB2FGyPDXRH76G7+YYq5BilfWVT4KwKIdqffOv4DtLDqNaCOdFcxDGtDrKGfARTXNa 5meyROJamJONRAdXguqxmjal9Fnvqdw4TvJ0wZoaLeM1xYWPEQHubAuQ10b5TzFeO/xYfcNl+Z4IQ 2tPbZvuQ==; Received: from [184.19.31.139] (port=35483) by bay.acenet.us with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1jvDJM-008UFl-Iw for pljava-dev@lists.postgresql.org; Tue, 14 Jul 2020 01:17:01 -0400 To: "pljava-dev@lists.postgresql.org" From: Chapman Flack Subject: I propose to commit a .editorconfig file for PL/Java X-Enigmail-Draft-Status: N1110 Message-ID: <5F0D3FCB.6040604@anastigmatix.net> Date: Tue, 14 Jul 2020 01:16:59 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut added a .editorconfig in the root of PostgreSQL's source repository, just last December. [1] While it can simplify the process for new contributors getting the right editor settings for the project's formatting conventions, one immediate benefit should be that GitHub will display our sources with the intended indentation on the web. I propose to start with the same rules as in the file he committed, but without the exception for sgml and xml. (We don't have any sgml files, and the xml files we have are indented the same as other types.) Regards, -Chap [1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ecb09cd;hp=2032645