From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: from mandoc.bsd.lv (bsd.lv [66.111.2.12]) by inbox.vuxu.org (Postfix) with ESMTP id 297A42C72A for ; Sat, 16 Mar 2024 08:39:44 +0100 (CET) Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id d6cc05e0 for ; Sat, 16 Mar 2024 07:39:42 +0000 (UTC) Received: from mx.stare.cz (uvt.stare.cz [185.63.96.79]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id fad7e10e for ; Sat, 16 Mar 2024 07:39:42 +0000 (UTC) Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id 92ce03bd for ; Tue, 12 Mar 2024 14:21:01 +0100 (CET) Date: Tue, 12 Mar 2024 14:21:01 +0100 From: Jan Stary To: discuss@mandoc.bsd.lv Subject: Re: bug: quoted punctuation behaves strangely Message-ID: References: X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mar 12 11:56:39, humm@ljabl.com wrote: > Consider: > > .Pq asdf . > .Pq asdf "." > > The expected output: > > (asdf). (asdf). If I'm reading mdoc(7) right, this is what the Delimiters section has to say on that: When a macro argument consists of one single input character considered as a delimiter, the argument gets special handling. This does not apply when delimiters appear in arguments containing more than one character. Your "." (quotes included) contains more than one character, so it is not a delimiter. Also, why would you ever do this? Jan > Mandoc’s output: > > (asdf). (asdf.) > -- > To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv > > -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv