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: Eli Zaretskii <eliz <at> gnu.org>
To: StrawberryTea <look <at> strawberrytea.xyz>
Cc: yantar92 <at> posteo.net, kevin.legouguec <at> gmail.com, 65896 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline
Date: Sun, 01 Oct 2023 11:42:55 +0300
> From: StrawberryTea <look <at> strawberrytea.xyz>
> Cc: juri <at> linkov.net, kevin.legouguec <at> gmail.com, 65896 <at> debbugs.gnu.org,
>  yantar92 <at> posteo.net
> Date: Sat, 30 Sep 2023 17:55:27 -0500
> 
> Basically, when the text is folded, it uses the face of the first visible
> newline after the fold to determine the background.
> 
> The elisp approach is to maintain overlays at the end of each folded region and
> it becomes complicated with nested headings. I was thinking that instead, we
> could have the extend property (or an extra option on :extend) be used within
> the line to colorize the background of the newline at the end.

Sorry, I still don't understand what you mean by the last sentence.
(All the rest is understood, but it describes the current situation,
which I understand well enough to not need any explanations.)




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.