[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64233] [troff] make requests' treatment of Boolean arguments more
From: |
G. Branden Robinson |
Subject: |
[bug #64233] [troff] make requests' treatment of Boolean arguments more consistent |
Date: |
Mon, 19 Feb 2024 23:36:05 -0500 (EST) |
Update of bug#64233 (group groff):
Severity: 3 - Normal => 1 - Wish
Item Group: Warning/Suspicious behaviour => Feature change
Status: None => Fixed
Assigned to: None => gbranden
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #1:
"I was back at the flat so quick that I nearly met myself coming out." — P.
G. Wodehouse
In _groff_ development, I suppose, 9 months is speedy.
(The truth is, I'd forgotten I filed this.)
commit d592ab9e3d3f9efeacece25ed8b03676031bd02e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Sun Feb 11 10:21:25 2024 -0600
[troff]: Alter color, cp, linetabs, vpt requests.
[troff]: The `color`, `cp`, `linetabs`, and `vpt` requests now interpret
arguments with negative values as instructions to disable the
corresponding feature, using the *roff integer-to-Boolean conversion
idiom instead of the C/C++ one. Thus, if you invoke these requests with
a register interpolation, the outcome agrees with an `if` test of the
register's value.
* src/roff/troff/div.cpp (vertical_position_traps):
* src/roff/troff/env.cpp (widow_control_request) [WIDOW_CONTROL]
(line_tabs_request):
* src/roff/troff/input.cpp (activate_color, compatible): Do it.
* doc/groff.texi.in (Tabs and Fields, Colors, Vertical Position Traps)
(Compatibility Mode):
* man/groff.7.man (Syntax reference conventions)
(Request short reference):
* man/groff_diff.7.man (New requests): Document it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64233>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #64233] [troff] make requests' treatment of Boolean arguments more consistent,
G. Branden Robinson <=