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: Ihor Radchenko <yantar92 <at> posteo.net>
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: Sat, 23 Sep 2023 14:11:08 +0300
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: look <at> strawberrytea.xyz, 65896 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com
> Date: Sat, 23 Sep 2023 10:51:22 +0000
> 
> You are right. If the visible part of the line has :extend already, it
> would make more sense to extend the face:
> 
> <visible text :extend t><ellipsis><newline :extend t>
> 
> The discussed issue corresponds to the following line structure:
> 
> <visible text :extend nil><ellipsis :extend nil><newline :extend t>
> 
> IMHO, <newline> after invisible text should simply inherit the face of
> previous glyph (from ellipsis, if ellipsis is visible; or from visible
> text, if invisible text is completely hidden) to get the expected look.

AFAICT, this should already happen.

I think I need a simple recipe to reproduce the problem and see more
closely what is going on in that recipe.  I tried the one at the
beginning of this bug, but couldn't reproduce, probably because I'm
missing something.




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

Previous Next


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