[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63377] [mdoc] .Nm emits warning instead of content
From: |
G. Branden Robinson |
Subject: |
[bug #63377] [mdoc] .Nm emits warning instead of content |
Date: |
Thu, 17 Nov 2022 16:30:02 -0500 (EST) |
Update of bug #63377 (project groff):
Status: None => In Progress
_______________________________________________________
Follow-up Comment #2:
I immediately pegged this commit
<https://git.savannah.gnu.org/cgit/groff.git/commit/?id=0d85615c62d07b028b972dff38bfa7589dad8cf1>
as the culprit.
No matter how innocent a change looks...
.de Nm
. if !\n[doc-arg-count] \{\
. ds doc-macro-name Nm
-. ie \n[.$] \
-. doc-parse-args \$@
+. ie \n[.$] \{\
+. \" Handle '.Nm ...' in "Name" section: don't use a special font.
+. ie \n[doc-in-name-section] \
+. No \$@
+. el \
+. doc-parse-args \$@
+. \}
. el \{\
. ie "\*[doc-topic-name]"" \
. tm Usage: .Nm name ... (#\n[.c])
Oh well, I'll have a unit test for this now, which will catch regressions.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63377>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63377] [mdoc] .Nm emits warning instead of content, John Gardner, 2022/11/17
- [bug #63377] [mdoc] .Nm emits warning instead of content, G. Branden Robinson, 2022/11/17
- [bug #63377] [mdoc] .Nm emits warning instead of content, G. Branden Robinson, 2022/11/17
- [bug #63377] [mdoc] .Nm emits warning instead of content,
G. Branden Robinson <=
- [bug #63377] [mdoc] .Nm emits warning instead of content, G. Branden Robinson, 2022/11/17
- [bug #63377] [mdoc] .Nm emits warning instead of content, John Gardner, 2022/11/17
- [bug #63377] [mdoc] .Nm emits warning instead of content, Dave, 2022/11/19
- [bug #63377] [mdoc] .Nm emits warning instead of content, G. Branden Robinson, 2022/11/21
- [bug #63377] [mdoc] .Nm emits warning instead of content, G. Branden Robinson, 2022/11/21