Re: pgindent vs emacs

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgindent vs emacs
Date: 2015-05-29 18:19:41
Message-ID: 5568ADBD.3050702@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 05/29/2015 01:49 PM, Andres Freund wrote:
> On 2015-05-29 13:37:40 -0400, Andrew Dunstan wrote:
>> One of the annoying inconsistencies between emacs and pgindent is that emacs
>> refuses to offset a block following a case label, while pgindent does. Is
>> there anything we can do to induce emacs to do what pgindent does?
> Are you using the logic from src/tools/editors/emacs.samples
>
> I don't see that problem here. I've further tuned my emacs for pPG, but
> afaics nothing but relevant for this but the above.
>

Hmm, yes, you're right, I was missing something. It also turns out it
depends on stuff we can't put in .dir-locals.el.

Sorry for the noise.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2015-05-29 18:27:40 Re: RFC: Remove contrib entirely
Previous Message Andres Freund 2015-05-29 18:17:46 Re: fsync-pgdata-on-recovery tries to write to more files than previously