From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id d7e8bf99 for ; Sun, 9 Apr 2017 16:47:27 -0500 (EST) Received: by mail-io0-f182.google.com with SMTP id t68so42094298iof.0 for ; Sun, 09 Apr 2017 14:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cathet-us.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:in-reply-to:references:comments :mime-version:content-id:date:message-id; bh=agB5oKdpSOxTNeFzu+9vtHDrX4r4PZCNl7A2ZxiFO+0=; b=DDA4eh8aGbajIUvmSDN7yio+sQfnNUhn8sEDlsyLwsHjRrcQ88IsTfWGaxE0ZXClsE B2SoW3V0gvEOpsNiq1sHN5vwW7ZK8H3lRh9EQHV7ghEYvsdjAb5RJJRcM0J6wDisbsHF uW9fUCdAgjSw0isLijgpVRKVcBBT3XmSoVd5+YuQeeuQbH6MNIS3XWnq++B+U0DKVwZZ ynIRRPEYgkuYesimfA3VyaHvgU27uw/daJfJ7lLiDk5oX1b6VC/mP2Ml7FIMnDTKjVAV UZ7iOrR6nBvolTU/8d5p6J8Fh341iEBB29rarDxmwNRiRjjv7wDndFh9ebSLW4KRqW8c nQ8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-id:date:message-id; bh=agB5oKdpSOxTNeFzu+9vtHDrX4r4PZCNl7A2ZxiFO+0=; b=jLzoP9ei93G1V3FKlLK6C81wZBD2WMF6NJNSCZH+6aZH+XMXqaiYBd8s8hsPJ+V1XP MVfsEeZVegy4iJCbAjs71540CSa49S5gbBrmkx5Ap2EAZ76lPF9McxaCw/GFStyXJW0C 04B9PrVL66iSi9DuD/R5FGjhqkGI3bzUazeGjgRhvZ1HHSCwS4Twdn19GMOqTIo7Lgyn Cuvr4akaAHGXm152YNzRvo4dcYRgdu/afNx5x1n6H3CCdQRbNAMsq3z5XNZvFDbc4Ox2 tB8ZgvThFwQH+4RT+IDten5MGe/r0zjEkIQCivQhvZEHvnFhXr2oyTOYtjxbhByy5Z2d cdCQ== X-Gm-Message-State: AFeK/H1EJ4sWTtQmJ6amM2VbnE31buJxMokjBPDp0O9f0aA4nUTKeQq8IklBCWwGOPTr1w== X-Received: by 10.107.192.193 with SMTP id q184mr53917644iof.110.1491774445099; Sun, 09 Apr 2017 14:47:25 -0700 (PDT) Received: from cathet.us. (75-161-109-59.albq.qwest.net. [75.161.109.59]) by smtp.gmail.com with ESMTPSA id p199sm1279635itb.8.2017.04.09.14.47.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Apr 2017 14:47:24 -0700 (PDT) Sender: "Anthony J. Bentley" Received: from cathet.us (localhost [127.0.0.1]) by cathet.us. (OpenSMTPD) with ESMTP id 1a470e91; Sun, 9 Apr 2017 15:47:23 -0600 (MDT) From: "Anthony J. Bentley" To: Ingo Schwarze cc: tech@mdocml.bsd.lv Subject: Re: Groff difference: punctuation following Lk In-reply-to: <20170409212247.GC76366@athene.usta.de> References: <80788.1491038992@cathet.us> <20170409212247.GC76366@athene.usta.de> Comments: In-reply-to Ingo Schwarze message dated "Sun, 09 Apr 2017 23:22:47 +0200." X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <55351.1491774443.1@cathet.us> Date: Sun, 09 Apr 2017 15:47:23 -0600 Message-ID: <65939.1491774443@cathet.us> Ingo Schwarze writes: > > It (unexpectedly, to me at least) treats the period as the text of the > > link, rather than punctuation that trails the macro. > > > > I guess mandoc's behavior is wrong, even though it makes more sense... > > I guess not. Glad to hear it! > How do you like the following patch? I like it very much. Groff's output still differs in two ways that I can see. The first is that it doesn't handle multiple arguments well: .Lk https://www.example.com/ a b c becomes "a: https://www.example.com/ b c" in groff (b and c bolded), instead of "a b c: https://example.com/" in mandoc. The other is that URLs of a certain size (I think that's the criteria?) get indented in groff. You can see this in sendbug(1), for example: The status of bug reports can be followed by checking the bugs@openbsd.org mailing list archive available at http://marc.info/?l=openbsd-bugs. Reducing the URL to 25 characters removes the indent: The status of bug reports can be followed by checking the bugs@openbsd.org mailing list archive available at http://marc.info/?l=openb. Mandoc doesn't indent in either case. -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv