From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8254 invoked from network); 27 Sep 2021 08:32:14 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 27 Sep 2021 08:32:14 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id a32f664c for ; Mon, 27 Sep 2021 03:32:11 -0500 (EST) Received: from mx.stare.cz (uvt.stare.cz [185.63.96.79]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id bda7efa8 for ; Mon, 27 Sep 2021 03:32:09 -0500 (EST) Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id ff8adf68 for ; Mon, 27 Sep 2021 10:32:07 +0200 (CEST) Date: Mon, 27 Sep 2021 10:32:07 +0200 From: Jan Stary To: discuss@mandoc.bsd.lv Subject: Re: [Suggestion]: Document that the Er macro can be used as a width. Message-ID: References: <20210927015110.d5u7teqwxmnjr3mu@BlackBox> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210927015110.d5u7teqwxmnjr3mu@BlackBox> On Sep 27 11:51:10, dev@sgregoratto.me wrote: > I'm currently rewriting the Illumos manpages in mdoc, and I realised > from looking at the OpenBSD manuals, that the error list is set up as > such: > > .Bl -tag -width Er > .It Bq Er ENOTTY > ... > > This is a really neat feature that I think deserved to be documented. > AFAIK only Ds gets this treatment. Apparently it resolves to 17n from > looking at mdoc_validate.c:/^macro2len/. mdoc(7) says The most popular is the imaginary macro Ds, which resolves to 6n. -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv