From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.rz.uni-karlsruhe.de (Debian-exim@smtp1.rz.uni-karlsruhe.de [129.13.185.217]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id oBLNXe5Y012758 for ; Tue, 21 Dec 2010 18:33:43 -0500 (EST) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1PVBi7-00088D-BK; Wed, 22 Dec 2010 00:33:39 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1PVBi7-0004UE-9v for tech@mdocml.bsd.lv; Wed, 22 Dec 2010 00:33:39 +0100 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1PVBi7-0007J4-8w for tech@mdocml.bsd.lv; Wed, 22 Dec 2010 00:33:39 +0100 Received: from schwarze by usta.de with local (Exim 4.72) (envelope-from ) id 1PVBi7-00046I-0I for tech@mdocml.bsd.lv; Wed, 22 Dec 2010 00:33:39 +0100 Date: Wed, 22 Dec 2010 00:33:38 +0100 From: Ingo Schwarze To: tech@mdocml.bsd.lv Subject: Re: mdocml: First, make `Pp' (next to `Sm') be allowed as the first element Message-ID: <20101221233338.GB9705@iris.usta.de> References: <201012160025.oBG0PZeE023827@krisdoz.my.domain> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201012160025.oBG0PZeE023827@krisdoz.my.domain> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Kristaps, kristaps@mdocml.bsd.lv wrote on Wed, Dec 15, 2010 at 07:25:35PM -0500: > Log Message: > ----------- > First, make `Pp' (next to `Sm') be allowed as the first element of a > `Bl' (before any `It' have been invoked). Next, have the existence of > either macro raise a warning, as it's technically not legal according to > mdoc.7. Hmm, i agree it is good that Pp does not throw FATAL at this point, and it is good that Pp throws a WARNING here, but Sm is just fine. How else would you switch to Sm mode just for the It? That's a real use case! Note that it looks like Lp is missing, too. > Second, delete any `Pp' as the first element of a `Bl' (i.e., before an > `It') ONLY when -compact has not been specified. This matches with the > latest version of groff. This deletion happens prior to the above > check, so double-warnings will not be issued. That one sounds good. Yours, Ingo -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv