Hi Branden, On 4/20/23 20:42, G. Branden Robinson wrote: > At 2023-04-20T15:03:24+0200, Alejandro Colomar wrote: >> BTW, another thing you might find useful is this: >> >> $ cat ~/.config/git/attributes >> *.[1-8]* diff=man >> >> >> And then in your .gitconfig: >> >> [diff "man"] >> xfuncname = "^\\.S[SH] .*$" > > Nice trick! How on Earth have I been living without this? I don't remember how I found this obscure git(1) configuration. I think I was reviewing some patch at work and the hunk was complete garbage, and we pulled some threads... Itchy and Scratchy :) > >> You may want to use a regex that also works for mdoc(7). > > I reckon you could sweep up mdoc(7) pages as well with: > > xfuncname = "^\\.S[HShs] .*$" Already fixed(: <http://www.alejandro-colomar.es/src/alx/alx/config.git/commit/?id=4e772e3e3fe0785d773cf702b115dfc3d20d90d5> > >>>> .BR ntp_adjtime () >>>> are equivalent but differently named.) >>>> It is a bit mask containing a >>>> -.RI bitwise- or >>>> +bitwise OR >>>> combination of zero or more of the following bits: > > Discussion of Boolean-algebraic operations is common enough among > programmers that it might be a good idea to settle on a specific style > recommendation for typesetting them. > > I think either quotation (e.g., \[lq]or\[rq]) or shouting capitals (OR) > are tolerable, the latter only because the few operators commonly > mentioned have very short names (you don't see EQUIVALENCE much). I'm used to seeing uppercase OR, AND, NAND, XOR, and similar names in Electronics. I'll vote for that. > > I would counsel against changing the type face for them (i.e., no bold, > no italics). > > Regards, > Branden Cheers, Alex -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature