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
View this message in rfc822 format
> 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 20:17:26 +0000
>
> >> 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".
> > ,----
> > | * A* B
> > `----
> >
> > because the newline will be hidden
>
> At the moment, if the new line is included in the entry then the output would be
> ,----
> | * A...* B
> `----
>
> However, if the displayed text after the invisible text is changed to "...\n" instead of "..." (through `display` or better yet through a change to invisibility-specs as I suggested) then the output is correct.
You are basically suggesting to hide the entire buffer text and
instead display something else via display properties. That's not
what outline modes do.
The solution to this problem is simple: don't use the :extend
attribute for these faces. That's all. This attribute is not
intended for what you want to achieve here. A whole bunch of problems
automatically gets resolved if you don't use :extend.
This bug report was last modified 1 year and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.