[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #52983] [PATCH] troffrc: Define register 'F' to avoid warnings
From: |
Ingo Schwarze |
Subject: |
[bug #52983] [PATCH] troffrc: Define register 'F' to avoid warnings |
Date: |
Fri, 16 Feb 2018 18:30:37 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; OpenBSD amd64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #1, bug #52983 (project groff):
This should be rejected. The purpose of the file troffrc is to provide a
place for site-specific configurations, and it is already too long as it
stands and should probably be cleaned up. We certained shouldn't dump random
code into it.
Besides, if you consider using an undefined register a bug, then that's a bug
in pod2man(1), not in groff. Pod::Man 4.07 actually generates code which,
according to a comment in the generated code, intends to avoid the warning:
.\" Avoid warning from groff about undefined register 'F'.
.if !\nF .nr F 0
Arguably, it might be better for pod2man(1) to write
.if !rF .nr F 0
instead, but i don't know whether that might be less portable. Anyway, that's
not for groff to decide.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52983>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #52983] [PATCH] troffrc: Define register 'F' to avoid warnings,
Ingo Schwarze <=