Re: Emacs vs pg_indent's weird indentation for function declarations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Emacs vs pg_indent's weird indentation for function declarations
Дата
Msg-id 2436.1558289589@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Emacs vs pg_indent's weird indentation for function declarations  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
Ответы Re: Emacs vs pg_indent's weird indentation for function declarations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Piotr Stefaniak <postgres@piotr-stefaniak.me> writes:
> On 19/05/2019 19.27, Tom Lane wrote:
>> Piotr Stefaniak <postgres@piotr-stefaniak.me> writes:
>>> I think it's safe to assume that upstream can drop support for K&R-style
>>> parameters altogether.

>> Cool.  I already created the switch, but maybe we could have it
>> default to -nkr?

> Sorry, but GNU indent already uses -kr for something else and I would 
> like FreeBSD indent have something like that under the same name. 
> Besides, indent has too many options and this one doesn't look like 
> particularly desired by anyone. It's possible that someone will complain 
> some day, but I don't think we should assume that they'll do or that 
> they're more important than the other users who benefit from your change 
> being the default behavior and no additional options.

Huh.  OK, I'll rip the switch back out again.

            regards, tom lane



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

Предыдущее
От: Piotr Stefaniak
Дата:
Сообщение: Re: Emacs vs pg_indent's weird indentation for function declarations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Multivariate MCV stats can leak data to unprivileged users