broken comment justification logic in new pgindent

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: broken comment justification logic in new pgindent
Date: 2005-11-06 21:10:58
Message-ID: 2776.1131311458@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm noticing that the latest pgindent run has frequently rejustified
block comments to end in column 80 or 81, causing them to wrap in an
ugly way (at least in emacs). I thought the agreement was to limit
lines to 79 chars max?

For one example see lines 475 ff in /src/backend/access/nbtree/nbtpage.c
--- the first lines of two successive paragraphs in the comment have
been made too long, which they were not before.

I'm not sure about this offhand, but I think that all the cases I've
seen have involved first lines of paragraphs inside block comments.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Creager 2005-11-06 23:26:58 SIGSEGV taken on 8.1 during dump/reload
Previous Message Marc G. Fournier 2005-11-06 20:14:01 Re: pgInstaller 8.1 built