pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Emacs vs pg_indent's weird indentation for function declarations
Date: Mon, 28 Jan 2019 16:08:42 +0900
Message-ID: <20190128070842.GF15401@paquier.xyz> (raw)
In-Reply-To: <7659.1548653310@sss.pgh.pa.us>
References: <CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com>
	<7659.1548653310@sss.pgh.pa.us>

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

Attachments:

  [application/pgp-signature] signature.asc (832B, ../20190128070842.GF15401@paquier.xyz/2-signature.asc)
  download

view thread (15+ messages)  latest in thread

Message-ID: <20190128070842.GF15401@paquier.xyz>
Permalink:  ../20190128070842.GF15401@paquier.xyz/
Also on:    postgresql.org/message-id/20190128070842.GF15401@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com
  Subject: Re: Emacs vs pg_indent's weird indentation for function declarations
  In-Reply-To: <20190128070842.GF15401@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox