GNU bug report logs - #65896
30.0.50; folding text with text properties prevents background from extending past the newline

Previous Next

Package: emacs;

Reported by: StrawberryTea <look <at> strawberrytea.xyz>

Date: Tue, 12 Sep 2023 18:02:01 UTC

Severity: wishlist

Found in version 30.0.50

Done: Ihor Radchenko <yantar92 <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 65896 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com, look <at> strawberrytea.xyz
Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline
Date: Tue, 26 Sep 2023 08:18:50 +0000
Eli Zaretskii <eliz <at> gnu.org> 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.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




This bug report was last modified 1 year and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.