Subject: bug#76018: 31.0.50; wrap-prefix properties from visual-wrap-prefix-mode proliferate

From: Kévin Le Gouguec <[email-masked]>
Date: Tue, 04 Feb 2025 07:57:48 +0100

Jim Porter <[email-masked]> writes:

> On 2/2/2025 9:50 AM, Kévin Le Gouguec wrote:
>> Expectation: continuation lines for the "second line of [words…]" should
>> not have any indentation.
>> Observation: text on that second line has these properties:
>>      There are text properties here:
>>        fontified            t
>>        wrap-prefix          (space :align-to (2 . width))
>
> Do you know if this is a recent regression, or if it's been this way since visual-wrap-prefix-mode was merged into Emacs? I've made a bunch of changes to the mode relatively recently, but the wrap-prefix part is mostly the same as before, aside from some different methods to calculate the width.

Barring methodological errors, a smoketest using adaptive-wrap (0.8)
suggests that it did not have this bug; the text properties on the
second line are:

    There are text properties here:
      fontified            t
      wrap-prefix          ""

That's all I have for now; can try to bisect later!