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 o7LHVbpF005112 for ; Sat, 21 Aug 2010 13:31:38 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 51C9E14F0FF for ; Sat, 21 Aug 2010 19:31:31 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id no2GptciSyNZ for ; Sat, 21 Aug 2010 19:31:30 +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 2133114C137 for ; Sat, 21 Aug 2010 19:31:28 +0200 (CEST) Message-ID: <4C700D08.3040304@bsd.lv> Date: Sat, 21 Aug 2010 19:29:44 +0200 From: Kristaps Dzonsons User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329) X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv Subject: Re: mdocml: .Bl -column phrases ignore spacing rules for trailing References: <201008202251.o7KMpT4F020687@krisdoz.my.domain> <4C6FB614.6010201@bsd.lv> <20100821160651.GA31898@iris.usta.de> In-Reply-To: <20100821160651.GA31898@iris.usta.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Ingo, > Now, as you said, this does not affect column lists only, > but literal tabs outside column lists as well. > But in literal context, there is no issue because spacing > is kept verbatim in any case, and outside literal context, > tabs are discouraged anyway. So, basically, the tab vs space-tab > surprise only affects column lists in practice. Damn, I didn't know that it also worked as such outside of the `It' context. Even more gross. Note well. `It -column' can be changed to be like groff with fairly minimal effort. In short, the MDOC_EOS flag would need to be unset if the tab is immediately preceded by non-whitespace. It'd be only a few lines, but I don't think this behaviour is worth following. As you noted, the "principle of most surprise" should not hold. That reminds me: can you put a note in mdoc.7 COMPATIBILITY? > Given that the traditional behaviour of column lists has been > so quirky in so many ways, i regard it as sane to make it a bit > easier to understand at the expense of minor issues with backward > compatibility. This is a case where i feel that idea applies. > > So, i propose the following patch instead. > It works with all formatters. I agree, for what it's worth. Thanks! Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv