]> git.marmaro.de Git - mmh/commitdiff
Enabled all groff warnings, with -ww, in manpages test. Fixed a bunch
authorDavid Levine <levinedl@acm.org>
Fri, 9 Mar 2012 03:29:28 +0000 (21:29 -0600)
committerDavid Levine <levinedl@acm.org>
Fri, 9 Mar 2012 03:29:28 +0000 (21:29 -0600)
of minor problems that it revealed.

12 files changed:
man/ap.man
man/comp.man
man/dist.man
man/forw.man
man/mh-format.man
man/mh-sequence.man
man/mhl.man
man/rcvdist.man
man/repl.man
man/scan.man
man/slocal.man
test/manpages/test-manpages

index 03636397b1c935332629d8f2f9ca770c3e17a94a..33628e258bf29eea93e7f8c0050e7df3cfc4bebe 100644 (file)
@@ -55,7 +55,7 @@ also recognizes the following additional escape:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 error  string  A diagnostic if the parse failed
 .RE
 .fi
index 0fddc260b595fd4962484f9f2ba8a6559098281e..c07b211f818e2794e628fa327d6ee471a39395c7 100644 (file)
@@ -138,7 +138,7 @@ escapes are either new or have an alternate meaning:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 from   string  Any addresses specified with `\-from\ address'
 to     string  Any addresses specified with `\-to\ address'
@@ -164,7 +164,7 @@ overridden by using the
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
-.IR \+outbox .
+.IR +outbox .
 This can be overridden by the
 .B \-fcc
 switch.
index cbb8bda920cbc7f68b1fa05908e2600af3072045..63292c057f4a2314b766c0851784c8abb60c97fb 100644 (file)
@@ -80,7 +80,7 @@ escapes are also supported:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 nmh\-from      string  Addresses specified with `\-from\ address'
 nmh\-to        string  Addresses specified with `\-to\ address'
index e6fa01a51e1711fdbbabcb07e5dbef78caf3e08a..0223207096ac86f8aed79eac7371108bbf689c9c 100644 (file)
@@ -111,7 +111,7 @@ escapes are also supported:
 .RS 5
 .nf
 .ta \w'nmh\-subject    'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 nmh\-from      string  Addresses specified with `\-from\ address'
 nmh\-to        string  Addresses specified with `\-to\ address'
@@ -137,7 +137,7 @@ by using the
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
-.IR \+outbox .
+.IR +outbox .
 This can be overridden by the
 .B \-fcc
 switch.
@@ -382,7 +382,7 @@ Specifying these switches enables and/or overloads the following escapes:
 .RS 5
 .nf
 .ta \w'Component  'u +\w'Escape  'u +\w'Returns  'u
-.I Type        Escape  Returns Description
+.I "Type       Escape  Returns Description"
 component      digest  string  Argument to `\-digest'
 function       cur     integer Argument to `\-volume'
 function       msg     integer Argument to `\-issue'
index 2d1c69e49bd193d7eb89af25e3b80dcd2cd342d9..0ecb791ba91d23d55c4231b008ab6e3a68b32696 100644 (file)
@@ -153,7 +153,7 @@ these include:
 .RS 5
 .nf
 .ta +\w'Argument 'u +\w'An optional component, 'u
-.I Argument    Description     Example Syntax
+.I "Argument   Description     Example Syntax"
 literal        A literal number        %(\fIfunc\fR 1234)
        or string               %(\fIfunc\fR text string)
 comp   Any component           %(\fIfunc\fR\^{\fIin-reply-to\fR\^})
@@ -251,7 +251,7 @@ The function escapes may be roughly grouped into a few categories.
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
-.I Function    Argument   Result       Description
+.I "Function   Argument   Result       Description"
 msg            integer message number
 cur            integer message is current (0 or 1)
 unseen         integer message is unseen (0 or 1)
@@ -341,7 +341,7 @@ The following functions require a date component as an argument:
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
-.I Function    Argument        Return  Description
+.I "Function   Argument        Return  Description"
 sec    date    integer seconds of the minute
 min    date    integer minutes of the hour
 hour   date    integer hours of the day (0-23)
@@ -377,7 +377,7 @@ the first address present in the header component.
 .RS 5
 .nf
 .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u
-.I Function    Argument        Return  Description
+.I "Function   Argument        Return  Description"
 proper addr    string  official 822 rendering
 friendly       addr    string  user-friendly rendering
 addr   addr    string  mbox@host or host!mbox rendering*
index 12fdb1ca3674415b626ae271769954c1660c09d6..68941eb1bd051b9e7a0ec71af791f326afaaef8c 100644 (file)
@@ -27,7 +27,7 @@ or one of these \*(lqreserved\*(rq message names:
 .RS 5
 .nf
 .ta +\w'\fIName\fP      'u
-.I Name        Description
+.I "Name       Description"
 first  the first message in the folder
 last   the last message in the folder
 cur    the most recently accessed message
index a5dc12e7ff9cb7ee5959ad9283a45e6cd5d107ea..cc5254dd216f0cd8433e65027143caa666e87863 100644 (file)
@@ -207,7 +207,7 @@ bell, clearscreen, width, length).
 .RS 5
 .nf
 .ta \w'noclearscreen  'u +\w'integer/G  'u
-.I variable    type    semantics
+.I "variable   type    semantics"
 width  integer screen width or component width
 length integer screen length or component length
 offset integer positions to indent \*(lqcomponent: \*(rq
index f24ea8e51386680ef26383345b7d7c23862a1ece..b82ae53e5b76ead7f120df2e5edc39321f5e4878 100644 (file)
@@ -50,7 +50,7 @@ escape:
 .RS 5
 .nf
 .ta \w'Dtimenow  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 addresses      string  the addresses to distribute to
 .fi
 .RE
index 112cca9b80fecc7ca83a783e7239dc92ccaf4c71..4c048874753af620cc7a3d779e29e16c41fc8c8d 100644 (file)
@@ -394,7 +394,7 @@ escape:
 .RS 5
 .nf
 .ta \w'Escape  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 fcc    string  Any folders specified with `\-fcc\ folder'
 .fi
 .RE
index d9d527141c0661a7f37bcf42b761a6bed3be85ab..0d0b762094e28381e4e5956d1591f4692f8d1c3f 100644 (file)
@@ -37,7 +37,7 @@ and, if room allows, some of the body of the message.  For example:
 .nf
 .ta \w'15+- 'u +\w'07/\|05x 'u +\w'Dcrocker  'u
 15+    10/\|05 crocker nned\0\0<<Last week I asked some of
-16\-   10/\|05 crocker message id format\0\0\<<I recommend
+16\-   10/\|05 crocker message id format\0\0<<I recommend
 18     10/\|06 brien   Re: Exit status from mkdir
 19     10/\|07*brien   \*(lqscan\*(rq listing format in nmh
 .fi
@@ -172,7 +172,7 @@ escapes:
 .RS 5
 .nf
 .ta \w'Dtimenow  'u +\w'Returns  'u
-.I Escape      Returns Description
+.I "Escape     Returns Description"
 body   string  the (compressed) first part of the body
 dtimenow       date    the current date
 folder string  the name of the current folder
index da1e576a0567d599ef854dc7f4fd4a70a2ece3e9..d7a45023d4013ebd21aed28dcd1ccd0cf0c96649 100644 (file)
@@ -129,7 +129,6 @@ You should include the line
 .PP
 .ce
 \*(lq|\ %libdir%/slocal\ \-user\ username\*(rq
-.RE
 .PP
 in your \&.forward file in your home directory.  This will cause
 your MTA to invoke
@@ -153,7 +152,7 @@ The format of each line in the
 file is:
 .PP
 .RS 5
-.B header      pattern action  result  string
+.B "header     pattern action  result  string"
 .RE
 .PP
 .BR header :
index 4865985512bbb9973eaecf893332f7046d74bf06..ce7d44381c26e5637d496b22637c8bf98a880717 100755 (executable)
@@ -32,7 +32,7 @@ rm -f "$expected" "$actual"
 touch "$expected" "$actual"
 
 for manpage in man?/*.?; do
-  groff -Tutf8 -mandoc -wmac "$manpage" > /dev/null 2>>"$actual"
+  groff -Tutf8 -mandoc -ww "$manpage" > /dev/null 2>>"$actual"
 done
 
 check "$expected" "$actual"