changeset: 6312:02234de89d2a
user:      e...@thyrsus.com
date:      Mon Oct 07 16:10:00 2013 +0000
link:      http://dev.mutt.org/hg/mutt/rev/02234de89d2a

Problems with mutt.1:

Ambiguous or invalid backslash.  This doesn't cause groff a problem.
but it confuses doclifter and may confuse older troff implementations.

Spelling error or typo.

changeset: 6313:8d888e4d4f0b
user:      e...@thyrsus.com
date:      Mon Oct 07 17:09:25 2013 +0000
link:      http://dev.mutt.org/hg/mutt/rev/8d888e4d4f0b

Problems with muttrc.5:

Ambiguous or invalid backslash.  This doesn't cause groff a problem.
but it confuses doclifter and may confuse older troff implementations.

Unknown or invalid macro.  That is, one that does not fit in the
macro set that the man page seems to be using.  This is a serious
error; it often means part of your text is being lost or rendered
incorrectly.

Use local definitions of .EX/.EE or .DS/.DE to avoid low-level troff
requests in the page body.  There are plans to add these to groff man;
in the interim, this patch adds a compatible definition to your page.

diffs (72 lines):

diff -r 24bb691dcde7 -r 8d888e4d4f0b doc/makedoc.c
--- a/doc/makedoc.c     Sun Oct 06 09:31:17 2013 -0700
+++ b/doc/makedoc.c     Mon Oct 07 17:09:25 2013 +0000
@@ -976,13 +976,13 @@
        }
        case SP_START_TAB:
        {
-         fputs ("\n.IP\n.DS\n.sp\n.ft CR\n.nf\n", out);
+         fputs ("\n.IP\n.EX\n", out);
          docstat |= D_TAB | D_NL;
          break;
        }
        case SP_END_TAB:
        {
-         fputs ("\n.fi\n.ec\n.ft P\n.sp\n", out);
+         fputs ("\n.EE\n", out);
          docstat &= ~D_TAB;
          docstat |= D_NL;
          break;
diff -r 24bb691dcde7 -r 8d888e4d4f0b doc/mutt.man
--- a/doc/mutt.man      Sun Oct 06 09:31:17 2013 -0700
+++ b/doc/mutt.man      Mon Oct 07 17:09:25 2013 +0000
@@ -88,7 +88,7 @@
 Specify a blind-carbon-copy (BCC) recipient
 .IP "-c \fIaddress\fP"
 Specify a carbon-copy (CC) recipient
-.IP "-d \fIlevel\fp"
+.IP "-d \fIlevel\fP"
 If mutt was complied with +DEBUG log debugging output to ~/.muttdebug0.
 \fILevel\fP can range from 1-5 and effects verbosity. A value of 2 is
 recommended.
diff -r 24bb691dcde7 -r 8d888e4d4f0b doc/muttrc.man.head
--- a/doc/muttrc.man.head       Sun Oct 06 09:31:17 2013 -0700
+++ b/doc/muttrc.man.head       Mon Oct 07 17:09:25 2013 +0000
@@ -18,6 +18,14 @@
 .\"     along with this program; if not, write to the Free Software
 .\"     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
02110-1301, USA.
 .\"
+.de EX
+.nf
+.ft CW
+..
+.de EE
+.ft
+.fi
+..
 .TH muttrc 5 "September 2002" Unix "User Manuals"
 .SH NAME
 muttrc \- Configuration file for the Mutt Mail User Agent
@@ -270,7 +278,7 @@
 list from the lists of known and subscribed mailing lists.  The
 \fBsubscribe\fP command adds a mailing list to the lists of known
 and subscribed mailing lists.  The \fBunsubscribe\fP command removes
-it from the list of subscribed mailing lists. The \fb-group\fP flag
+it from the list of subscribed mailing lists. The \fB-group\fP flag
 adds all of the subsequent regular expressions to the named group.
 .TP
 \fBmbox-hook\fP [\fB!\fP]\fIpattern\fP \fImailbox\fP
@@ -385,11 +393,12 @@
 .TP
 \fBsource\fP \fIfilename\fP
 The given file will be evaluated as a configuration file.
-.TP
+.PP
 .nf
 \fBspam\fP \fIpattern\fP \fIformat\fP
 \fBnospam\fP \fIpattern\fP
 .fi
+.IP
 These commands define spam-detection patterns from external spam
 filters, so that mutt can sort, limit, and search on
 ``spam tags'' or ``spam attributes'', or display them

Reply via email to