Update of bug #66932 (group groff):

                  Status:             In Progress => Fixed
             Open/Closed:                    Open => Closed
         Planned Release:                    None => 1.24.0

    _______________________________________________________

Follow-up Comment #5:

Of course I transposed digits in the ticket number when writing the
uncorrectable commit message.  Sigh.


commit c9d9a4e1e743d84de96ef4f6d2bde6b09bc67b1e
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
Date:   Fri Mar 21 14:50:12 2025 -0500

    [troff]: Warn on failure to adjust the output line.
    
    * src/roff/troff/env.cpp (distribute_space): I planted an `assert()`
      land mine for myself back in December and it finally went off.  Remove
      assertion that the amount of `desired_space` for adjustment must be
      nonnegative.  While rare, this can in fact happen with perverse inputs
      such as long, unhyphenable character sequences or short output line
      lengths.  Throw new warnings in category "break" when adjustment is
      desired but impossible: (1) the output line has no adjustable spaces
      on it, or (2) any adjustable spaces would have to be squeezable/
      shrinkable to achieve a fit, and that is not yet implemented in GNU
      troff (see Savannah #44018).  (Even if/when we do implement it, there
      will be a [likely configurable] limit to how narrow an adjustable
      space can become.)
    
    * doc/groff.texi.in (Warnings):
    * src/roff/troff/troff.1.man (Warnings): Document additional
      circumstances under which warnings in "break" category are thrown.
      Clarify existing circumstances.
    
    Fixes <https://savannah.gnu.org/bugs/?66392>.
    
    Also annotate places in code that I think will likely need to change
    upon tackling Savannah #44018.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66932>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to