help / color / mirror / Atom feed
From: "Anthony J. Bentley" <anthony@cathet.us>
To: discuss@mdocml.bsd.lv
Subject: Lint feature: macro arguments to No
Date: Sun, 16 Nov 2014 16:13:02 -0700	[thread overview]
Message-ID: <8174.1416179582@cathet.us> (raw)


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

             reply	other threads:[~2014-11-16 23:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-16 23:13 Anthony J. Bentley [this message]
2014-11-17  6:55 ` Ingo Schwarze
2014-11-17  7:13   ` Anthony J. Bentley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8174.1416179582@cathet.us \
    --to=anthony@cathet.us \
    --cc=discuss@mdocml.bsd.lv \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).