Re: updated emacs configuration

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: updated emacs configuration
Дата
Msg-id 20140206131920.GO28649@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: updated emacs configuration  (Greg Stark <stark@mit.edu>)
Ответы Re: updated emacs configuration  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: updated emacs configuration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@sss.pgh.pa.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: updated emacs configuration
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Row-security on updatable s.b. views