GNU bug report logs -
#59141
28.1.90; Face :extend when all the line but trailing \n is invisible
Previous Next
Reported by: Ihor Radchenko <yantar92 <at> posteo.net>
Date: Wed, 9 Nov 2022 02:24:01 UTC
Severity: normal
Tags: fixed
Found in version 28.1.90
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #59 received at 59141 <at> debbugs.gnu.org (full text, mbox):
> From: Abdul-Lateef Haji-Ali <abdo.haji.ali <at> gmail.com>
> Cc: yantar92 <at> posteo.net, 59141 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com,
> juri <at> linkov.net
> Date: Fri, 11 Nov 2022 19:47:45 +0000
>
>
> On 11/11/2022, Eli Zaretskii wrote:
> > I don't think I understand the question. What do you mean by "overlay
> > rendering"? An overlay can produce text only if it has a
> > before-string or after-string property, so what do you mean by
> > "arbitrary text"?
>
> I might be using the wrong terms here, but I think the idea is straightforward.
> According to `buffer-invisibility-spec` docs
>
> ,----
> | If the (ATOM . ELLIPSIS) form is used, and ELLIPSIS is non-nil, an
> | ellipsis will be displayed after the invisible characters.
> `----
>
> so I am wondering if a new form like `(ATOM . STRING)` can be supported so that STRING can be displayed after the invisible characters instead of ellipses.
This is what the 'display' property already does, so I don't see why
we'd need yet another way of replacing some buffer text with a
different text on display.
> The suggested solution is have an outline entry include the new line character (so that the whole extended lines is hidden). The displayed text after the invisible text would then be "...\n".
AFAIU, your proposal will make this:
,----
| * A
| TextA
| * B
| TextB
`----
be displayed like this after hiding the bodies:
,----
| * A* B
`----
because the newline will be hidden
AFAIU, this is not what Org wants to display when the bodies of the
headings are hidden.
This bug report was last modified 1 year and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.