[Top][All Lists]

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

[bug #53043] [PATCH] an-old.tmac: Check the number of arguments for some

From: Ingo Schwarze
Subject: [bug #53043] [PATCH] an-old.tmac: Check the number of arguments for some macros
Date: Fri, 16 Feb 2018 18:06:03 -0500 (EST)
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #4, bug #53043 (project groff):

What you say is fair enough, but it doesn't apply to the question at hand. 
Using .BR with a single argument is valid syntax and has well-defined and
obvious semantics.  As a matter of fact, an example of a document making valid
use of the feature is the groff(7) manual page itself.

No program should warn about usage that is valid and unambiguous.  Issuing
invalid warnings is not a good idea.  It is not the job of the end user to
pick out valid warnings from among invalid ones.

Even for warnings, *sometimes*, less is more.  This is such a case.  If you
issue too many warnings, and in particular bogus ones, people will simply
switch them off completely.  Providing the possibility to fine-tune warnings
to end-users is nice in theory, but i have almost never met any user who
actually does such fine-tuning in practice, it's simply too much work for
end-users who usually want to focus on other things, not on tuning of warning
levels.  So program maintainers better get warnings right in the first place. 
That's in the best interest of end-users.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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