Re: updated emacs configuration

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: updated emacs configuration
Дата
Msg-id 20140129234911.GC2851@momjian.us
обсуждение исходный текст
Ответ на Re: updated emacs configuration  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: updated emacs configuration  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Jan 29, 2014 at 12:53:02AM -0500, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > If this only affects a handful of places, then sure, let's go ahead
> > and fix it.  But if it's going to create a massive enough diff that
> > we've gotta think about back-patching it, then IMHO it's totally not
> > worth it.
> 
> A quick grep search says there are well over 3000 comment lines containing
> '.' followed by a tab.  grep isn't smart enough to tell if the tabs expand
> to exactly two spaces, but I bet the vast majority do.  So it might not
> be quite as bad as the 8.1 wrap-margin change, but it'd be extensive.

I have cleaned up entab.c so I am ready to add a new option that removes
tabs from only comments.  Would you like me to create that and provide a
diff at a URL?  It would have to be run against all back branches.

If it goes well, it could prove to be a way to incrementally improve
pgindent.  If not, I am afraid we are stuck with our current pgindent
output.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Failure while inserting parent tuple to B-tree is not fun
Следующее
От: Tom Lane
Дата:
Сообщение: Re: updated emacs configuration