[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57836] groff's adjustment algorithm is not environment-aware
From: |
Dave |
Subject: |
[bug #57836] groff's adjustment algorithm is not environment-aware |
Date: |
Wed, 2 Jun 2021 01:43:43 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #5, bug #57836 (project groff):
Brilliant!
Since diversions and environments don't necessarily go hand in hand, your
solution may not improve the output of the specific example in the original
submission, But it _does_ give the user a tool to solve the problem
himself--which, for edge cases like this, ought to be good enough.
[comment #4 comment #4:]
> Consider: a diversion gobbles up the current partially collected line
> _if there is one_. I'm thinking that it is therefore hard to judge
> whether the adjustment parity should be reset upon simply entering a
> diversion or not, since there might not be a partially collected line,
> if a break happened accidentally or otherwise just before the diversion
> was created.
It seems like this diversion behavior is something you want only if you're
writing for an Obfuscated Code contest, which I presume is why (a) .box was
invented, and (b) the new-environment-for-new-diversion advice is given.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57836>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/