bugGNU roff - Bugs: bug #52982, [man] define register 'F' and...

 
 

bug #52982: [man] define register 'F' and macro 'IX' to avoid warnings

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Fri 26 Jan 2018 10:35:18 PM UTC
   
 
Category:  Macro package man Severity:  1 - Wish
Item Group:  Feature change Status:  Rejected
Privacy:  Public Assigned to:  schwarze
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 30 Mar 2023 04:55:04 PM UTC, comment #3: 

Dropping patch annotation from rejected ticket.

G. Branden Robinson <gbranden>
Group administrator
Sat 17 Feb 2018 12:04:36 AM UTC, comment #2: 

I agree with Ingo on this one.  The .IX macro is not portable "man" and if pod2man wants to use it, it needs to define it in the preamble of the man pages it generates.

Or (my preference) stop emitting it altogether.

G. Branden Robinson <gbranden>
Group administrator
Fri 16 Feb 2018 11:37:41 PM UTC, comment #1: 

This should be rejected.  The man(7) language neither defines nor uses the F register nor the IX macro for anything, so it should not manipulate them.  Whatever uses them is responsible for using them correctly.  This is none of groff's business.

Ingo Schwarze <schwarze>
Group Member
Fri 26 Jan 2018 10:35:18 PM UTC, original submission:  

From 89fa1385780c2121ad62f7fa836bc258ef277dd5 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Fri, 26 Jan 2018 22:28:26 +0000
Subject: [PATCH] an-old.tmac: Define register 'F' and macro 'IX' to avoid
 warnings

Man pages created with "pod2man" use these.
Some other man pages use the macro.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 tmac/an-old.tmac | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index c8bcc6f0..9ae3b9f9 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -686,6 +686,15 @@
 .  char  ` \N'96'
 .\}
 .
+.\" Define register "F" and macro "IX" to avoid warnings
+.\" Man pages created with "pod2man" use these
+.\" Some other man pages use the macro
+.if !r F .nr F 0
+.if !d IX \{\
+.de IX
+..
+.\}
+.
 .\" Load man macro extensions.
 .mso an-ext.tmac
 .
--
2.11.0


Bjarni Ingi Gislason <bjarniig>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by schwarze (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-03-30 gbranden Summary[PATCH] [man] Define register 'F' and macro 'IX' to avoid warnings [man] define register 'F' and macro 'IX' to avoid warnings
    2022-03-05 gbranden Summary[PATCH] an-old.tmac: Define register 'F' and macro 'IX' to avoid warnings [PATCH] [man] Define register 'F' and macro 'IX' to avoid warnings
    2022-03-05 gbranden StatusInvalid Rejected
    2018-02-19 schwarze StatusNone Invalid
        Assigned toNone schwarze
        Open/ClosedOpen Closed
    2018-02-16 schwarze Severity3 - Normal 1 - Wish

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code