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: Juri Linkov <juri <at> linkov.net>
Cc: yantar92 <at> posteo.net, 65896 <at> debbugs.gnu.org, look <at> strawberrytea.xyz, kevin.legouguec <at> gmail.com
Subject: bug#65896: 30.0.50; folding text with text properties prevents background from extending past the newline
Date: Fri, 22 Sep 2023 10:20:34 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  Ihor Radchenko <yantar92 <at> posteo.net>,
>   65896 <at> debbugs.gnu.org,  look <at> strawberrytea.xyz
> Date: Fri, 22 Sep 2023 09:40:42 +0300
> 
> > I would imagine outline.el could grow a user option to adjust overlay
> > boundaries this way, so the heading's newline would remain visible, and
> > so would any :extend property on that newline… although perhaps I'm
> > missing some key differences between outline-mode and magit-section-mode
> > that may derail this train of thought.
> 
> I tried, but the conclusion was that this requires changes in the display engine.

For any changes in this area to be done in the display engine, someone
will have to come up with a coherent proposal that will:

  . make sense from the Lisp programmer's POV
  . support well both the case of invisible text and the case of no
    invisible text, without asking the display code to jump through
    too many hoops in any of these cases
  . be consistent with the current handling of faces in the display
    code, which basically decides on the face where it changes, and
    then keeps using that face until the next face change

Ideas and suggestions that satisfy the above conditions are welcome.




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.