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: Sun, 24 Sep 2023 14:59:13 +0300

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: Eli Zaretskii <eliz@gnu.org>, 65896@debbugs.gnu.org,
>  kevin.legouguec@gmail.com
> Date: Sun, 24 Sep 2023 10:19:11 +0000
> 
> StrawberryTea <look@strawberrytea.xyz> writes:
> 
> >       (overlay-put o ’evaporate t)
> >       (overlay-put o ’cae-org-fold-heading t)
> >       (overlay-put o ’face
> >                    (save-excursion (goto-char from)
> >                                    (face-at-point)))
> >       (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?





reply via email to

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