bugGNU troff - Bugs: bug #62559, [gt]roff -E: say...

 
 

bug #62559: [gt]roff -E: say "warnings" instead of "errors"

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 01 Jun 2022 10:42:20 PM UTC
 
Category:  General Severity:  3 - Normal
Item Group:  Documentation Status:  Invalid
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Fri 10 Jun 2022 01:19:35 AM UTC, comment #4: 


G. Branden Robinson <gbranden>
Project Administrator
Fri 10 Jun 2022 01:18:42 AM UTC, comment #3: 

No follow-up has arrived and it's been a week.

Closing as invalid.  As a further exhibit in support of Dave's and my claims, I offer the following which appears to document the introduction of the `-z` option.

G. Branden Robinson <gbranden>
Project Administrator
Fri 03 Jun 2022 12:43:41 PM UTC, comment #2: 

original submission:

> Subject: [gt]roff -E: say "warnings" instead of "errors"


"-E" suppresses errors and warnings, which are two different classes of messages that can go to stderr (and as Branden notes, in recent code these messages generally explicitly label themselves as one or the other).  So if your proposal (and I agree with Branden that it's a bit unclear what you're asking to be changed) is to change this:

> .B \-E
> Inhibit
> .I @g@troff
> error messages;


to say "Inhibit gtroff warning messages," this would inaccurately describe what -E does: -E inhibits error messages.  That it also inhibits warnings is stated by the rest of the sentence:

> implies
> .BR \-Ww .


Also not sure what you mean by:

>   Real errors should not be suppressed


Is this saying that people shouldn't use the -E option? that groff shouldn't offer a -E option? that you think the -E option doesn't actually suppress errors?  (If the last, giving an example of an error message that -E lets through would be useful.)

Dave <barx>
Project Member
Thu 02 Jun 2022 12:37:27 AM UTC, comment #1: 

original submission:

> Subject: [gt]roff -E: say "warnings" instead of "errors"
>
>   Real errors should not be suppressed and "*roff" has only categories
> of warnings.


I don't understand this report.  GNU troff has plenty of error messages.

$ test -z "$(printf '\\' | groff 2>&1)" && echo empty input
$ test -z "$(printf '\\' | groff -E 2>&1)" && echo empty input
empty input

That's groff 1.22.4.  groff Git HEAD prefixes such messages with "error:".

>   The man pages (groff.1.man, troff.1.man) say:
>
> .B \-E
> Inhibit
> .I @g@troff
> error messages;
> implies
> .BR \-Ww .


Yes, that sounds correct to me.

G. Branden Robinson <gbranden>
Project Administrator
Wed 01 Jun 2022 10:42:20 PM UTC, original submission:  

Subject: [gt]roff -E: say "warnings" instead of "errors"

  Real errors should not be suppressed and "*roff" has only categories
of warnings.

  The man pages (groff.1.man, troff.1.man) say:

.B \-E
Inhibit
.I @g@troff
error messages;
implies
.BR \-Ww .

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-10 gbranden Attached File- Added new_troff_options_1981.png, #53291
    2022-06-10 gbranden StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2022-06-02 gbranden StatusNone Need Info
        Assigned toNone gbranden

    Back to the top


    Powered by Savane 3.9