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 1go12J-0003z9-Kt for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jan 2019 07:08:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1go12I-0000Lw-Hv for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jan 2019 07:08:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go12I-0000Lo-Ak for pgsql-hackers@lists.postgresql.org; Mon, 28 Jan 2019 07:08:50 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go12H-0003fA-0F for pgsql-hackers@postgresql.org; Mon, 28 Jan 2019 07:08:49 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C027A21B88; Mon, 28 Jan 2019 02:08:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 28 Jan 2019 02:08:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=bSwhq18M6gFZampcBwBuEurLYkF bjwrNOj4xhJnLE0M=; b=nmFZGmgTm7/R2baQWNfIBfi9KMOr+ci0b7r+knJITaR egOM9EX+tLANsRVVZ8evfFkg2laGTcOnXpJiRmHikXDf13en/QtJa2CDD0n0M42G 4+HZ4IFqESOr+ELlZ3CTH9pyhi7iv1LVs7n5XlTybOadDZ9rmdDn11lXXo/DpZIN e9ZLqR0mNQ85s+3mcbIbEbHt1XDI2rNcXGOs6/RCdn74NnN0u83LVzXF2ADSQkNM duf5ltWDMt3z0MGgYf7FxAmMiK50uM+abZgWT8FwIB6qGuaxvAmdWtYibGJjYy7s 6dKJXamBQ8EUGlrqHJc7QVmV+4M1B95AfkDfQlp3xgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=bSwhq1 8M6gFZampcBwBuEurLYkFbjwrNOj4xhJnLE0M=; b=Cf50Z0CGWpvSgA1tTvy1pq Y4inIGABoCcb5hOLyGQ72eiU0cmMUoKLkzuEyO0sIVirEBQa3okeZP4LiX04kq5k /f1A84JHAuKeXb4hsSfw9Zrnq3Hk+fDZYes05Z4EF5jfR6leJbrIIl7jpenMkXDl XGl2ljN3zpGv+ZsaG0R+KC1U3Vc12URIv5rCoOdBkbDxEzhS+JamTizyWGlBlthD Bes9/UjMKbcAk5fOBIal5bqjMApG7U3P0xbvSe2DAU+mrJsGSc58QTUshm/HyqyM A9jckA6U4XI//zProhHI76+DihoUGJFhhvBY/FEWD2TrcYyVg4fGoOhYHOb1y9Ew == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrieelgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtd dmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgt hhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqne cukfhppeeiuddrvdduhedrudefjedrudeivdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 9193C10310; Mon, 28 Jan 2019 02:08:45 -0500 (EST) Date: Mon, 28 Jan 2019 16:08:42 +0900 From: Michael Paquier To: Tom Lane Cc: Thomas Munro , Pg Hackers Subject: Re: Emacs vs pg_indent's weird indentation for function declarations Message-ID: <20190128070842.GF15401@paquier.xyz> References: <7659.1548653310@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Content-Disposition: inline In-Reply-To: <7659.1548653310@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --iBwuxWUsK/REspAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 28, 2019 at 12:28:30AM -0500, Tom Lane wrote: > Thomas Munro writes: >> That's ... annoying. I wish indent wouldn't do that, because it means >> that my declarations get moved around every time I write code. >=20 > If you can fix it, I'd vote for accepting the patch. I don't personally > have the desire to dig into the indent code that much ... If you could get pgindent smarter in this area, it would be really nice.. -- Michael --iBwuxWUsK/REspAd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlxOqnoACgkQnvQgOdby QH2POQ/7BdS0DgRBJI2h+nerixZzlOan/EDgfZ1qIm2147X3Qpalt9EIU1hHjMAJ uEZMoPZXbtiLt4FDpOxg2DlixZ2eFOKfQIH8RmVhEYYN907PXVXNOGKs7Yg1fFsg eAelCtfIkjxvXcOAcpFT0qpTMtib4tA57LN28SgJDQSCZGgO9RhcR854/iziUB9i hRKysgJwBxPcBqjEmY3e8bxyq31DcedUeq9pdlAAGL6XUAFYcpBWD+luLCuOuOmz Cw0x8gKgj/R9Mpb1zOFJchsPcQfJ7j3C2Wh4m7szy1ZUmIlDtoVcfAzOhf2GyxJB zH3+exSvAWCJgl5Uxms/4cbhEq06iJakjRDNtXe3dy1yjXqRQGJCAyqGvYyOb68R X6z4XPQOMqKuL0WqSNix2c4zpL9nOVpnFmctfWjww8DGOeOHI3yT++X9LRHmTSKc i5RNGLgiZ96YrUf54IWTSK/yD/r7F/Oou4xEt25U91ZFgB8vXWoUwVU5vrz6FNw8 +umneJfMcODe/ADBCVtAkgvYlHk1SjDPXfc89XbpMnykNgp2xTcXbiYXaVunA+ju jdl+JpgTEiexgmRgcjMYyADWrXctKAtW3PwBcQKQe5M0ogf8gofxRDo1yC1cIIyV rq8hVngofI1aAbcV5zKaSqDxjCjp3Qoqh+aJpUY4ETnlk3UnZW8= =eXEI -----END PGP SIGNATURE----- --iBwuxWUsK/REspAd--