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 1pJRrV-0007FA-5c for pgsql-hackers@arkaria.postgresql.org; Sun, 22 Jan 2023 04:21:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pJRrS-0004O6-Sr for pgsql-hackers@arkaria.postgresql.org; Sun, 22 Jan 2023 04:21:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJRrS-0004Nw-Jx for pgsql-hackers@lists.postgresql.org; Sun, 22 Jan 2023 04:21:42 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJRrO-0000bF-3W for pgsql-hackers@postgresql.org; Sun, 22 Jan 2023 04:21:41 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1pJRr8-007zAR-VX; Sat, 21 Jan 2023 23:21:22 -0500 Date: Sat, 21 Jan 2023 23:21:22 -0500 From: Bruce Momjian To: Peter Geoghegan Cc: Tom Lane , Jelte Fennema , Magnus Hagander , Alvaro Herrera , Stephen Frost , Noah Misch , Jesse Zhang , Andres Freund , PostgreSQL-development Subject: Re: run pgindent on a regular basis / scripted manner Message-ID: References: <20200814202651.GA31108@alvherre.pgsql> <1097305.1674334785@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Jan 21, 2023 at 08:08:34PM -0800, Peter Geoghegan wrote: > On Sat, Jan 21, 2023 at 2:05 PM Peter Geoghegan wrote: > > There is one thing about clang-format that I find mildly infuriating: > > it can indent function declarations in the way that I want it to, and > > it can indent variable declarations in the way that I want it to. It > > just can't do both at the same time, because they're both controlled > > by AlignConsecutiveDeclarations. > > Looks like I'm not the only one that doesn't like this behavior: > > https://github.com/llvm/llvm-project/issues/55605 Wow, that is very weird. When I work with other open source projects, I am regularly surprised by their low quality requirements. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Embrace your flaws. They make you human, rather than perfect, which you will never be.