Re: updated emacs configuration

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: updated emacs configuration
Дата
Msg-id 20130627195115.GM3757@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: updated emacs configuration  (Noah Misch <noah@leadboat.com>)
Ответы Re: updated emacs configuration  (Bruce Momjian <bruce@momjian.us>)
Re: updated emacs configuration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Noah Misch wrote:

> Note that emacs and pgindent remain at odds over interior tabs in comments.
> When pgindent finds a double-space (typically after a sentence) ending at a
> tab stop, it replaces the double-space with a tab.  c-fill-paragraph will
> convert that tab to a *single* space, and that can be enough to change many
> line break positions.

We should really stop pgindent from converting those double-spaces to
tabs.  Those tabs are later changed to three or four spaces when wording
of the comment is changed, and things start looking very odd.

Really, we should get out of patched BSD indent entirely already.  How
about astyle, for instance?  I'm told that with some sensible options,
the diff to what we have now is not very large, and several things
actually become sensible (such as function pointer decls, which are
messed up rather badly by pgindent)

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Markus Wanner
Дата:
Сообщение: Re: Hash partitioning.
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: ASYNC Privileges proposal