Re: Emacs vs pg_indent's weird indentation for function declarations - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Emacs vs pg_indent's weird indentation for function declarations
Date
Msg-id 20190128070842.GF15401@paquier.xyz
Whole thread Raw
In response to Re: Emacs vs pg_indent's weird indentation for function declarations  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Emacs vs pg_indent's weird indentation for function declarations  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Mon, Jan 28, 2019 at 12:28:30AM -0500, Tom Lane wrote:
> Thomas Munro <thomas.munro@enterprisedb.com> 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.
>
> 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Prepare Transaction support for ON COMMIT DROP temporary tables
Next
From: Andreas Karlsson
Date:
Subject: Re: Covering GiST indexes