[bug #61477] [tbl] "nowarn" should suppress "table row will not fit warning" as well

2021-11-14 Thread G. Branden Robinson
Update of bug #61477 (project groff): Status: Need Info => In Progress Assigned to:None => gbranden ___ Follow-up Comment #1: The lack of a NOWARN

[groff] 26/26: tbl(1): Heavily revise.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 03a27783205426444d51425a2897861dc2125f9a Author: G. Branden Robinson AuthorDate: Sun Nov 14 02:13:58 2021 +1100 tbl(1): Heavily revise. * Update summary description; tbl(1) _prepares_ tables rather than

[groff] 25/26: doc/groff.texi: Fix content and style nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit aee0c8e62e62020fdd1bd85452482eaba2c3544a Author: G. Branden Robinson AuthorDate: Mon Nov 15 07:38:54 2021 +1100 doc/groff.texi: Fix content and style nits. Content: * (Writing Macros): Before mentioning the

[groff] 19/26: doc/groff.texi: Rename a set of macros.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 44c91f0f3c80d8106a6d679931f3400a1b64e522 Author: G. Branden Robinson AuthorDate: Sat Nov 13 07:26:51 2021 +1100 doc/groff.texi: Rename a set of macros. All but one string we document is defined by a macro package

[groff] 12/26: [docs]: Fix terminology in `.T` string definition.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit aad8b073bffb544d4b24ad311a56bf4a409867ca Author: G. Branden Robinson AuthorDate: Sat Nov 13 07:32:59 2021 +1100 [docs]: Fix terminology in `.T` string definition. * "output driver" -> "output device" ---

[groff] 10/26: groff(7): Fix style nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit f5fbde786d275e84a231a6ae08e828877ce8df11 Author: G. Branden Robinson AuthorDate: Mon Nov 15 07:46:33 2021 +1100 groff(7): Fix style nits. * Consistently say "'numerical' expression". I prefer adjective forms

[groff] 02/26: m4/groff.m4: Clarify message.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit af7a753dcb99c73ac1056058ddaeea6f0400ecaf Author: G. Branden Robinson AuthorDate: Fri Nov 12 12:13:45 2021 +1100 m4/groff.m4: Clarify message. * m4/groff.m4 (GROFF_HTML_PROGRAMS): Clarify message; it is only

[groff] 05/26: [m4]: Clean up test(1) usage.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit f3619aa295ef686ea5e852302d3bc5f5907338d1 Author: G. Branden Robinson AuthorDate: Fri Nov 12 22:18:09 2021 +1100 [m4]: Clean up test(1) usage. Get rid of string (non-)nullity tests and comparisons involving

[groff] 22/26: doc/groff.texi: Fix error in example description.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 72780e21973d9aaad0d2d62de1fd8b1da6004d73 Author: G. Branden Robinson AuthorDate: Sat Nov 13 18:47:45 2021 +1100 doc/groff.texi: Fix error in example description. Problem introduced by me in commit 88cbc3f2, 9

[groff] 24/26: doc/groff.texi: Fix content nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 9a181e87cb65bdb3665870bacd7ee2394a31a979 Author: G. Branden Robinson AuthorDate: Sun Nov 14 03:49:40 2021 +1100 doc/groff.texi: Fix content nits. * Say "request invocation" instead of "request line". *

[groff] 23/26: doc/groff.texi: Fix content and style nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit e657545e148a12f575ea656834f8e64bc8082189 Author: G. Branden Robinson AuthorDate: Sun Nov 14 03:19:00 2021 +1100 doc/groff.texi: Fix content and style nits. * Recast introduction to "Registers" node. * Reorder

[groff] 18/26: doc/groff.texi: Fix content, style, markup nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 8367785a19d19f9608b4bae57b240448bdc1a039 Author: G. Branden Robinson AuthorDate: Sat Nov 13 07:05:12 2021 +1100 doc/groff.texi: Fix content, style, markup nits. Content: * Rename node "Escape Index" to

[groff] 16/26: [docs]: Fix style nit in DESC file documentation.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 9b2bbcb86deee23578c4bc3e865969a143f0ccd9 Author: G. Branden Robinson AuthorDate: Mon Nov 15 06:11:12 2021 +1100 [docs]: Fix style nit in DESC file documentation. --- doc/groff.texi | 4 ++-- man/groff_font.5.man |

[groff] 20/26: doc/groff.texi: Migrate `.T` string to new macros.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit b763c059bcebb87a99cf021624814ab0d49f9db3 Author: G. Branden Robinson AuthorDate: Sat Nov 13 07:34:14 2021 +1100 doc/groff.texi: Migrate `.T` string to new macros. --- doc/groff.texi | 50

[groff] 21/26: doc/groff.texi: Slightly recast.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit bfe003d6531ce056deeb4a134b8126d773bbe665 Author: G. Branden Robinson AuthorDate: Sat Nov 13 09:07:50 2021 +1100 doc/groff.texi: Slightly recast. --- doc/groff.texi | 10 +- 1 file changed, 5 insertions(+), 5

[groff] 11/26: [docs]: Rein in bloat of the lexicon.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 3f3d085e97c6d0b90fdff4a00b3585a9742b757f Author: G. Branden Robinson AuthorDate: Sat Nov 13 06:48:36 2021 +1100 [docs]: Rein in bloat of the lexicon. We already have a term "conditional block". Formally

[groff] 17/26: [docs]: Clarify metrics in font description files.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit f23b3f9a3aeea5f5158a268f2e85a71f1cd77a00 Author: G. Branden Robinson AuthorDate: Mon Nov 15 06:33:39 2021 +1100 [docs]: Clarify metrics in font description files. * Document that the numbers in the metrics field

[groff] 14/26: [docs]: Update discussion of `sp` request.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit f7bbcd8fae43c41bf495697f056eb02bd4b9aa8e Author: G. Branden Robinson AuthorDate: Sun Nov 14 01:59:21 2021 +1100 [docs]: Update discussion of `sp` request. * Explicitly refer to the "drawing position". I

[groff] 06/26: [m4]: Clean up shell variable quoting and bracing.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 5ee740e6a5aed63d0e2a53a2c757349427e28bc0 Author: G. Branden Robinson AuthorDate: Sun Nov 14 01:15:35 2021 +1100 [m4]: Clean up shell variable quoting and bracing. * m4/groff.m4 (GROFF_PROG_YACC, GROFF_MAKEINFO,

[groff] 15/26: [docs]: Tweak style of `\n` description.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 1266cb5e0a5c7283632703beedbc5855e6daedaa Author: G. Branden Robinson AuthorDate: Sun Nov 14 03:04:28 2021 +1100 [docs]: Tweak style of `\n` description. --- doc/groff.texi | 9 + man/groff.7.man | 6 +++--- 2

[groff] 09/26: groff_man_style(7): Update font selection advice.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit ecd7eb791a1aa057d7eb81f6e5f997162a04aef1 Author: G. Branden Robinson AuthorDate: Fri Nov 12 20:50:21 2021 +1100 groff_man_style(7): Update font selection advice. * Identify C data types as italic fodder. *

[groff] 04/26: m4/groff.m4: Couple Texinfo-related macros.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit a1270cf002158179741f3e6d93b207df8691d895 Author: G. Branden Robinson AuthorDate: Fri Nov 12 12:56:01 2021 +1100 m4/groff.m4: Couple Texinfo-related macros. [build]: This completes "revamp[ing] Texinfo manual

[groff] 13/26: [docs]: Update description of `sizes` request.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 7eebe71904f0c77bba9bcce497eca5875de4a4c0 Author: G. Branden Robinson AuthorDate: Sat Nov 13 18:57:28 2021 +1100 [docs]: Update description of `sizes` request. --- doc/groff.texi | 8 man/groff.7.man

[groff] 03/26: m4/groff.m4 (GROFF_MAKEINFO): Simplify.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit 976ccf5118f0d5156d19d10505407a7ecf2a471b Author: G. Branden Robinson AuthorDate: Fri Nov 12 12:50:06 2021 +1100 m4/groff.m4 (GROFF_MAKEINFO): Simplify. * m4/groff.m4 (GROFF_MAKEINFO): Stop throwing a warning if

[groff] 08/26: groff_man*(7): Fix content and style nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit bc4abc17116e7b12c03aa4d4917102ef6c44534c Author: G. Branden Robinson AuthorDate: Fri Nov 12 12:00:10 2021 +1100 groff_man*(7): Fix content and style nits. Content: * Consistently say "escape sequence(s)"

[groff] 07/26: src/preproc/tbl/table.cpp: Fix code style nits.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit e53f81bc87bf2868fa837281bca6c06181cc8f38 Author: G. Branden Robinson AuthorDate: Sat Nov 13 06:09:52 2021 +1100 src/preproc/tbl/table.cpp: Fix code style nits. * src/preproc/tbl/table.cpp (table::do_vspan): Fix

[groff] 01/26: ChangeLog: Clarify old entries.

2021-11-14 Thread G. Branden Robinson
gbranden pushed a commit to branch master in repository groff. commit a7df9780a1b92d54a333d7c9f912f203b4e41a6f Author: G. Branden Robinson AuthorDate: Sat Nov 13 05:45:56 2021 +1100 ChangeLog: Clarify old entries. --- ChangeLog | 15 +++ 1 file changed, 7 insertions(+), 8

Re: Use `strsave()`, not `strdup()`.

2021-11-14 Thread James K. Lowden
On Tue, 9 Nov 2021 20:17:56 +1100 "G. Branden Robinson" wrote: > We can either: > * Use a nonstandard allocator; or > * Handle exceptions. Hi Brandon, If it's C++, you have only one choice: handle exceptions. Otherwise, you're using so little of the language that you might as well use C.

Re: macro returning a value?

2021-11-14 Thread Thomas Dupond
Ulrich Lauther wrote: > > .de Pos > > \R'foo (\\n[.d]-\\n[.v]*254+1)/72000'\\n[foo]mm/10 > > .. > > > > which allows you to enter > > > > position: \n[.d] units, \*[Pos]. > > > > Wow! Works nicely. > > But why is "R" escaped only once? \\R works too. > And I had to add a line ".sp -1v"

Re: macro returning a value?

2021-11-14 Thread Ulrich Lauther
On Sat, Nov 13, 2021 at 12:19:09PM -0500, Peter Schaffter wrote: > On Sat, Nov 13, 2021, Ulrich Lauther wrote: > > Is there a trick to make a macro or string return a value? > > > The only solution I found looks like this: > > > > .de Pos END > > .nr foo