Re: updated emacs configuration

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: updated emacs configuration
Date: 2014-02-06 13:19:20
Message-ID: 20140206131920.GO28649@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2013-07-21 02:06:02 +0100, Greg Stark wrote:
> On Thu, Jun 27, 2013 at 10:31 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >
> > AFAIR, no one has ever done a serious comparison to anything except GNU
> > indent, and (at least at the time) it seemed to have bugs as bad as
> > pgindent's, just different ones. I'm certainly open to another choice
> > as long as we don't lose on portability of the tool. But who will do
> > the legwork to test something else?
>
> Fwiw I played with clang-format a bit the other day. But I couldn't
> get it to resemble our coding style. It was strongly of the opinion
> that spacing within lines should be completely consistent and that
> meant it eliminated all spaces that lined up initializers and such.

FWIW, there's some work going on to add more options (like pg correct
differences between function definitions and declarations). So it might
develop into something usable for pg.

What I haven't seen in any tool yet is something to resemble our
indentation style for variable declarations. Do we feel that's a
dealbreaker for any tool?

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2014-02-06 14:19:54 Re: Row-security on updatable s.b. views
Previous Message Peter Eisentraut 2014-02-06 13:08:46 Re: updated emacs configuration