Update of bug #68113 (group groff):
Severity: 3 - Normal => 1 - Wish
Status: None => Rejected
Assigned to: None => gbranden
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
[comment #0 original submission:]
> Subject: EX/EE: save and restore the fill mode
>
> In the EX macro, the fill mode should be saved in a local variable
> before it is switched off (.nf) and restored in the EE macro,
Why? How would the package get into a state where fill mode is already
disabled when `EX` is called?
A rhetorical question: this can only happen if in the input document "punches
through the floor", using a _troff_ request directly to disable filling.
And that's not portable, and not supported.
_groff_man_style_(7):
Portability
...
In roff systems, elemental functions called requests and escape
sequences control formatting operations. A request appears on a
control line. An escape sequence starts with a backslash (\) and
can appear almost anywhere. However, use of roff requests (apart
from the empty request “.”) risks poor rendering when a page is
processed by non‐roff formatters that attempt to interpret page
sources. (Historically, this was commonly attempted for HTML
conversion.) Many of these programs don’t interpret the full roff
language (let alone extensions): they may be incapable of handling
numeric expressions, control structures, or register, string, and
macro definitions, causing a document’s contents to be presented
incomprehensibly or omitted entirely.
_groff_ does not take steps to **prohibit** use of formatter requests; they
are sometimes necessary, or desirable to achieve pleasant typesetting (viz. my
use of `br` and `ne` pairs to achieve "poor man's keeps", but which have no
effect when formatting for the terminal with "continuous rendering" enabled).
But if a document uses them, its author accepts the responsibility to return
the formatter's state to that expected by the macro package.
Consequently there is no need for the `EX` and `EE` macros to save and restore
filling enablement. Any document that goes behind these macros' backs to
manipulate filling should save and restore filling enablement itself.
Closing as rejected.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68113>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
