groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: groff_man_style.7: Hyperlink macros: \: before or after '#', '?'?


From: G. Branden Robinson
Subject: Re: groff_man_style.7: Hyperlink macros: \: before or after '#', '?'?
Date: Tue, 8 Feb 2022 09:03:30 +1100
User-agent: NeoMutt/20180716

At 2022-02-07T22:51:18+0100, Alejandro Colomar (man-pages) wrote:
> On 2/7/22 22:35, G. Branden Robinson wrote:
> > Hi, Alex!
> > 
> > At 2022-02-07T19:46:43+0100, Alejandro Colomar (man-pages) wrote:
> >> Hi Branden,
> >>
> >> I see that groff_man_style(7) gives advice on where to break URIs
> >> regarding slashes and dots, but not '?' and '#', which are other
> >> common symbols on URIs.I see that groff(1) seems to break before, in
> >> your manual pages, so I'll follow that practice, but maybe it's good
> >> to state it in the manual page too.
> > 
> > Good idea.  Such advice has the pleasant benefit of, for '?', being
> > congruent with our advice regarding '.' (see?  I told you guys Chicago
> > was all wrong), and since '?' begins HTTP GETty request parameters, it
> > and the URL material after it might well be omitted at the
> > copy-and-paster's discretion.
> 
> Oh, and another one: '@'.  I've found a lot of them in links to mailing
> list archives.

Yup, good point.  To keep things exciting, existing email addresses in
groff man pages tend to put the break _after_ the '@'.

Well, I say "tend".  59 instances are perfectly consistent, and I can't
find any exceptions with "git grep 'MT.*:@' *.man *.man.in".

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]