[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59608] sample_docs.mom: error: an argument has a 'p' unit attached
From: |
Peter Schaffter |
Subject: |
[bug #59608] sample_docs.mom: error: an argument has a 'p' unit attached |
Date: |
Sun, 17 Jan 2021 12:46:07 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 OPR/67.0.3575.115 |
Follow-up Comment #5, bug #59608 (project groff):
1) Mark significant trailing space as such, that is not just "...abc \"
but
"...abc \"significant trailing space
Marking significant trailing space with just the slash-quote follows the
recommendation made by Werner some years ago. With nothing after it, it
already means "the foregoing space is significant." Adding the comment
afterwards would be tautological.
Not sure what you mean by "2) Show all arguments in a diagnostic message." Do
you mean every argument that was passed to the macro? What would be the
advantage? A user needs only know the offending calling macro, its position
in the file, which arg is bad ("first," "second"... or "arg to <keyword"), and
why. Listing additional correct arguments serves no purpose and could, in
some instances, add a huge amount noise. Some of the _STYLE macros have over
ten keyword/value pairs as arguments.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59608>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/