Re: updated emacs configuration

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: updated emacs configuration
Дата
Msg-id CAM-w4HP09VAiT7Oy2XTprScpL5BC7RknzEdfdxN_sFTV-8wCwA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: updated emacs configuration  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: updated emacs configuration  (Peter Eisentraut <peter_e@gmx.net>)
Re: updated emacs configuration  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
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.

In theory this tool is promising though since it works by looking at
the llvm bytecode to determine what the real syntax is. It should be
able to handle the typedef issues we have with most of the the tools.


-- 
greg



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: InvokeObjectPostAlterHook() vs. CommandCounterIncrement()
Следующее
От: Pavel Stehule
Дата:
Сообщение: proposal - psql - show longest tables