discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Lint feature: macro arguments to No
@ 2014-11-16 23:13 Anthony J. Bentley
  2014-11-17  6:55 ` Ingo Schwarze
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony J. Bentley @ 2014-11-16 23:13 UTC (permalink / raw)
  To: discuss

Hi,

When working on a manual today, I accidentally wrote:

    .Ar foo No Ns bar

instead of

    .Ar foo Ns No bar

mandoc -Tlint didn't warn me at all, but groff did:

    mdoc warning: Using a macro as first argument cancels effect of .No

This seems like an easy-to-miss mistake that would be useful to catch
with mandoc -Tlint.

-- 
Anthony J. Bentley
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-17  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-16 23:13 Lint feature: macro arguments to No Anthony J. Bentley
2014-11-17  6:55 ` Ingo Schwarze
2014-11-17  7:13   ` Anthony J. Bentley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).