bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65896: 30.0.50; folding text with text properties prevents backgroun


From: Eli Zaretskii
Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline
Date: Tue, 12 Sep 2023 21:51:49 +0300

tags 65896 wishlist
thanks

> From: StrawberryTea <look@strawberrytea.xyz>
> Date: Tue, 12 Sep 2023 13:00:45 -0500
> 
> 
> Hi. This issue comes from Reddit,
> https://www.reddit.com/r/emacs/comments/v0i4js/extend_org_heading_background_face_past_the/.
> Basically, if I fold text using text properties, the heading background
> does not extend to the end of the window. To quote /u/yantar92: "This is
> because the trailing newline in the folded heading gets hidden. If the
> trailing newline is invisible, :extend t has no effect. It is Emacs
> limitation, AFAIK." It would be great if we could make the :extend
> property work with invisible text.

It cannot.  Text properties of invisible text are ignored because the
display engine skips invisible text and doesn't consider it and its
properties at all.

I'm not closing this bug in the hope that someone will have a clever
idea for how to work around this, or maybe (gasp!) even submits a
patch.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]