Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline

From: Eli Zaretskii <[email-masked]>
Date: Fri, 29 Sep 2023 08:47:21 +0300

> From: Ihor Radchenko <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked]
> Date: Tue, 26 Sep 2023 08:18:50 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> >       (overlay-put o ’display “\n”))))
> >> 
> >> This has a potential to break a number of things, because the text under
> >> the fold will no longer be considered invisible.
> >> 
> >> Also, ellipsis will not be obeyed.
> >
> > But the idea to use a display string which is "\n" could still be
> > useful, to help with the problem you pointed out in response to my
> > previous suggestion, no?
> 
> As a workaround, maybe. However, the amount of code changes to support
> folding/unfolding not only of invisible text, but also extra 'display
> overlays will not be worth it just to address this issue.

Given the amount of discussions of this issue, I would have thought it
was important enough to go out of our way to solve it, but maybe I'm
missing something.  It's your call, obviously.