broken comment justification logic in new pgindent - Mailing list pgsql-hackers

From Tom Lane
Subject broken comment justification logic in new pgindent
Date
Msg-id 2776.1131311458@sss.pgh.pa.us
Whole thread Raw
Responses Re: broken comment justification logic in new pgindent  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: pgInstaller 8.1 built
Next
From: Robert Creager
Date:
Subject: SIGSEGV taken on 8.1 during dump/reload