tech@mandoc.bsd.lv
 help / color / Atom feed
From: "Anthony J. Bentley" <anthony@anjbe.name>
To: tech@mandoc.bsd.lv
Subject: Incorrect column count in lint messages
Date: Thu, 13 Feb 2020 22:07:31 -0700
Message-ID: <21953-1581656851.930227@-SgG.yrqY.5jf-> (raw)

Hi,

Consider the following example:

.Dd
.Sh DESCRIPTION
.Oo lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod \
Ar Ns , Oc

When run through mandoc -Tlint, this warning appears:

    mandoc: /tmp/foo.1:4:78: WARNING: skipping no-space macro

The line number is correct, but the column count wrongly includes the
length of the previous line.

-- 
Anthony J. Bentley
--
 To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14  5:07 Anthony J. Bentley [this message]
2020-02-14 17:06 ` Ingo Schwarze

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=21953-1581656851.930227@-SgG.yrqY.5jf- \
    --to=anthony@anjbe.name \
    --cc=tech@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

tech@mandoc.bsd.lv

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mandoc-tech

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.tech


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git