bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 14/52] man/curs_color.3x: Recast.


From: Thomas Dickey
Subject: Re: [PATCH 14/52] man/curs_color.3x: Recast.
Date: Sun, 24 Dec 2023 11:48:02 -0500

On Sun, Dec 24, 2023 at 10:33:59AM -0600, G. Branden Robinson wrote:
> Hi Thomas,
> 
> At 2023-12-24T11:10:14-0500, Thomas Dickey wrote:
> > I didn't notice any new warnings - and used Debian testing for one of
> > my test-builds.  "lintian --pedantic -v" on the manpage package is
> > silent.
> 
> I got a surprise, too--I saw that you added quotation-string definitions
> to curs_legacy.3x, but when I generated dumps of the entire ncurses man
> page corpus to text and PDF formats, I never got warnings about the
> strings being undefined despite passing "-ww" to groff.  Now that I've
> thought about it for 5 seconds, I realize why: I catenate all of the man
> page source documents together for formatting, so any existing
> definitions in "early" pages remain available for "later" documents,
> because each page that defines strings doesn't undefine them at the end.
> (And they shouldn't, necessarily.  Very few man(7) documents are so
> fastidious.)  Guess I'll need a separate script for this sort of
> auditing.

I do use a separate script -- several in fact -- but the one that flagged
this checks that the macros which are copied into lots of places are
identical (and tries to warn about definitions that are missing).

It's not general-purpose of course...

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]