bugGNU troff - Bugs: bug #57622, [PATCH] doc-old.tmac-u: Remove a...


bug #57622: [PATCH] doc-old.tmac-u: Remove a superfluous "end of a macro" (..)

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Fri 17 Jan 2020 07:33:15 PM UTC  
Category:  Macro - mdoc Severity:  1 - Wish
Item Group:  Warning/Suspicious behaviour Status:  None
Privacy:  Public Assigned to:  Ingo Schwarze <schwarze>
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 07 Feb 2020 01:49:02 AM UTC, comment #4: 

  Instead of removing the line  "..",
make it a comment line with an explanation,
something like:

.\" The original line '..' was commented out
.\" to avoid a warning about an
.\" undefined macro,
.\" and to preserve it for historical reasons.

Bjarni Ingi Gislason <bjarniig>
Tue 04 Feb 2020 01:44:34 PM UTC, comment #3: 

I don't object at all to deleting the doc-old macro package (better known as mdoc version 2 from 4.3BSD-Reno) completely from the groff distribution.  Branden has a point that the current groff distribution is not a museum.

While i'm certainly a fan of Cynthias good work, the version 3 of mdoc that she completed a few years later is much better and in general use now.  Version 2 is definitely no longer useful for formatting documents.

Is it OK with you that i delete doc-old from the distribution?

Ingo Schwarze <schwarze>
Project MemberIn charge of this item.
Tue 04 Feb 2020 07:36:04 AM UTC, comment #2: 

I'm not sure I agree with this being closed.

My opinion:

The GNU roff codebase is not supposed to be a museum.

Our macro packages should exhibit exemplary style (literally, serve as good examples) insofar as we are aware and able to make them.

If there is more value in keeping mdoc-old frozen as an exhibit than in serving as macro package for formatting documents even if the user has the warnings dialed way the hell up, then I submit that it would be better to drop it from the groff distribution.  Let other implementations be in the archaeological exhibit business.  Certainly there are plenty of moribund SourceForge, GitHub, and even Apache Software Foundation projects (<cough>Apache Open Office</cough>) fitting this description.

My preference would be to re-open the ticket and fix it.

Ingo and I have weighed in; would anyone else like to?

G. Branden Robinson <gbranden>
Project Administrator
Sat 18 Jan 2020 04:06:47 PM UTC, comment #1: 

doc-old.tmac is not a macro set that is intended for practical use.
The file is merely documenting Cynthia's historical version 2 of the mdoc macros as they appeared in 4.3BSD-Reno (1990).
They were already totally obsolete in 4.4BSD and no documents using them remained in any operating system after 1993.  The grand total of documents ever using them was extremely small in the first place, probably less than 200.

If there is value in retaining the file at all, then it is in retaining it with as few changes as possible.

Ingo Schwarze <schwarze>
Project MemberIn charge of this item.
Fri 17 Jan 2020 07:33:15 PM UTC, original submission:  

From 3b96b21c1fead1d92eb658bffe25411bb800fa9d Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Fri, 17 Jan 2020 19:19:49 +0000
Subject: [PATCH] doc-old.tmac-u: Remove a superfluous "end of a macro" (..)

  "nroff -ww doc-old.tmac-u" reports on standard error:

troff: doc-old.tmac-u:273: warning: macro '.' not defined

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
tmac/doc-old.tmac-u | 1 -
1 file changed, 1 deletion(-)

diff --git a/tmac/doc-old.tmac-u b/tmac/doc-old.tmac-u
index ddb782f7..ef597d97 100644
--- a/tmac/doc-old.tmac-u
+++ b/tmac/doc-old.tmac-u
@@ -270,7 +270,6 @@
.if n \{\
.ad l
.if t \{\

Bjarni Ingi Gislason <bjarniig>


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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-25 gbranden CategoryMacro - others => Macro - mdoc
    2020-02-04 schwarze StatusWont Fix => None
        Open/ClosedClosed => Open
    2020-01-18 schwarze CategoryMacro - mdoc => Macro - others
        Severity3 - Normal => 1 - Wish
        StatusNone => Wont Fix
        Assigned toNone => schwarze
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5