bug-groff
[Top][All Lists]
Advanced

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

[bug #51482] PATCH] test-groff.in; troff.1.man: Add options for warnings


From: Bjarni Ingi Gislason
Subject: [bug #51482] PATCH] test-groff.in; troff.1.man: Add options for warnings and backtrace; change "-w all" to " -ww"
Date: Sun, 16 Jul 2017 16:04:55 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?51482>

                 Summary: PATCH] test-groff.in; troff.1.man: Add options for
warnings and  backtrace; change "-w all" to " -ww"
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sun 16 Jul 2017 08:04:54 PM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

  Actually all warnings should be enabled by default; the current default
choice is simple an illusion, telling people everything is o.k., when it
actually is not always the case.

  This is also a contradiction, maintainers have created warnings, and yet
silence them (no free speech, must be extra asked for).

  How do people already know that every input they use is already free of
errors, bad constructs etc.

  Does your experience proof that every man-page (source file) is free of
everything that "groff" is constructed to warn about?

  Is this philosophy "all warnings are equal but some are more equal than
others", a good one, a fundamental one, a paradigm in computer science?



>From 8c8036707fea01b4f415da083ae3f19d70ddb3eb Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Sun, 16 Jul 2017 19:55:24 +0000
Subject: [PATCH] test-groff.in; troff.1.man: Add options for warnings and
 backtrace; change "-w all" to " -ww"

  This is a test version, so as much code as possible should be used by
default.

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 src/roff/troff/troff.1.man | 2 +-
 test-groff.in              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index 0df947bb..bc9b51b0 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -299,7 +299,7 @@ below.
 .
 For example, to enable all warnings, use
 .B \-w
-.BR all .
+.BR w .
 Multiple
 .B \-w
 options are allowed.
diff --git a/test-groff.in b/test-groff.in
index 953299b6..357c3352 100644
--- a/test-groff.in
+++ b/test-groff.in
@@ -38,4 +38,4 @@ GROFF_FONT_PATH=$builddir/font$SEP$srcdir/font
 
GROFF_TMAC_PATH=$srcdir/tmac$SEP$builddir/tmac$SEP$srcdir/contrib/mom$SEP$builddir/contrib/mom
 export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH
 
-exec $builddir/groff ${1+"$@"}
+exec $builddir/groff -b -ww ${1+"$@"}
-- 
2.13.2






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51482>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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