source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Documented EOS buffered spaces and added `]'.
@ 2010-05-15  7:01 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-05-15  7:01 UTC (permalink / raw)
  To: source

Log Message:
-----------
Documented EOS buffered spaces and added `]'.

Modified Files:
--------------
    mdocml:
        man.7
        mandoc.c
        mdoc.7

Revision Data
-------------
Index: mandoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -Lmandoc.c -Lmandoc.c -u -p -r1.14 -r1.15
--- mandoc.c
+++ mandoc.c
@@ -320,6 +320,8 @@ mandoc_eos(const char *p, size_t sz)
 			/* FALLTHROUGH */
 		case ('\''):
 			/* FALLTHROUGH */
+		case (']'):
+			/* FALLTHROUGH */
 		case (')'):
 			break;
 		case ('.'):
Index: man.7
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man.7,v
retrieving revision 1.70
retrieving revision 1.71
diff -Lman.7 -Lman.7 -u -p -r1.70 -r1.71
--- man.7
+++ man.7
@@ -216,8 +216,13 @@ literal text.
 When composing a manual, make sure that your sentences end at the end of
 a line.
 By doing so, front-ends will be able to apply the proper amount of
-spacing after the end of sentence (unescaped) period, exclamation, or question
-mark.
+spacing after the end of sentence (unescaped) period, exclamation mark,
+or question mark followed by zero or more non-sentence closing
+delimiters (
+.Ns Sq \&) ,
+.Sq \&] ,
+.Sq \&' ,
+.Sq \&" ) .
 .Sh MANUAL STRUCTURE
 Each
 .Nm
Index: mdoc.7
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.7,v
retrieving revision 1.106
retrieving revision 1.107
diff -Lmdoc.7 -Lmdoc.7 -u -p -r1.106 -r1.107
--- mdoc.7
+++ mdoc.7
@@ -301,10 +301,18 @@ When composing a manual, make sure that 
 a line.
 By doing so, front-ends will be able to apply the proper amount of
 spacing after the end of sentence (unescaped) period, exclamation mark,
-or question mark.
+or question mark followed by zero or more non-sentence closing
+delimiters (
+.Ns Sq \&) ,
+.Sq \&] ,
+.Sq \&' ,
+.Sq \&" ) .
 .Pp
 The proper spacing is also intelligently preserved if a sentence ends at
-the boundary of a macro line.
+the boundary of a macro line, e.g.,
+.Pp
+.D1 \&Xr mandoc 1 \.
+.D1 \&Fl T \&Ns \&Cm ascii \.
 .Sh MANUAL STRUCTURE
 A well-formed
 .Nm
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-15  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-15  7:01 mdocml: Documented EOS buffered spaces and added `]' kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).