From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o6JDduvw016507 for ; Mon, 19 Jul 2010 09:39:57 -0400 (EDT) Received: from smtp-2.sys.kth.se (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 005A914F12D for ; Mon, 19 Jul 2010 15:39:49 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by smtp-2.sys.kth.se (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R1HFTpo0H86P for ; Mon, 19 Jul 2010 15:39:49 +0200 (CEST) X-KTH-Auth: kristaps [130.237.221.96] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: discuss@mdocml.bsd.lv Received: from [130.237.221.96] (ctime.pdc.kth.se [130.237.221.96]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 09BF914C129 for ; Mon, 19 Jul 2010 15:39:48 +0200 (CEST) Message-ID: <4C445515.2090105@bsd.lv> Date: Mon, 19 Jul 2010 15:37:25 +0200 From: Kristaps Dzonsons User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: Re: Nested displays? References: <4C443A36.6090201@bsd.lv> <20100719120350.GI30454@bramka.kerhand.co.uk> In-Reply-To: <20100719120350.GI30454@bramka.kerhand.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit >> Can anybody think of a reason why display types (`Bd', `D1', `Dl') >> shouldn't be nested? Enclosed is a patch that downgrades the message to >> ERROR (from FATAL) and lets these through. >> > > well, it doesn;t make sense to nest displays, does it? i can;t think of > why you would ever want to. don;t tell me we have examples of this in > our pages... Not in OpenBSD. I think this FATAL should be lifted to ERROR anyway. It's completely artificial. % ./mandoc -Tlint -fign-errors -Wall \ > `cat ../{Open,Free,Net,DragonFly}BSD/manuals.txt` \ > 2>&1|grep "displays may not"|cut -d : -f 1|uniq /home/kristaps/checkedout/FreeBSD/freebsd/usr.sbin/apmd/apmd.8 /home/kristaps/checkedout/FreeBSD/freebsd/bin/sh/sh.1 /home/kristaps/checkedout/FreeBSD/freebsd/lib/libc/net/nsdispatch.3 /home/kristaps/checkedout/FreeBSD/freebsd/lib/msun/man/ieee.3 /home/kristaps/checkedout/FreeBSD/freebsd/sys/netinet/libalias/libalias.3 /home/kristaps/checkedout/FreeBSD/freebsd/crypto/heimdal/kadmin/kadmin.8 /home/kristaps/checkedout/DragonFlyBSD/src/usr.sbin/apmd/apmd.8 /home/kristaps/checkedout/DragonFlyBSD/src/lib/libc/net/nsdispatch.3 /home/kristaps/checkedout/DragonFlyBSD/src/lib/libalias/libalias.3 /home/kristaps/checkedout/DragonFlyBSD/src/games/fortune/fortune/fortune.6 /home/kristaps/checkedout/DragonFlyBSD/src/usr.bin/rdist/rdist.1 Naughty naughty! -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv