GNU bug report logs - #59141
28.1.90; Face :extend when all the line but trailing \n is invisible

Previous Next

Package: emacs;

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 #38 received at 59141 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 59141 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com, juri <at> linkov.net
Subject: Re: bug#59141: 28.1.90;
 Face :extend when all the line but trailing \n is invisible
Date: Fri, 11 Nov 2022 09:46:51 +0200
> Cc: 59141 <at> debbugs.gnu.org,
>  Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Date: Fri, 11 Nov 2022 01:58:10 +0000
> 
> > Alternatively, maybe it would be sufficient to put the 'display "\n" property
> > only on the final newline, thus hiding its face properties.
> > The drawback is that it requires more overlays.
> 
> But don't display property inherit face? I tried to play with
> `put-text-property' 'display "\n" and even with (propertize "\n" 'face
> 'default) but :extend still appears to affect the display.

Did you read the mode "Displaying Faces" in the ELisp manual?  It
explains why this happens.

Emacs 29 has a new face attribute value 'reset'; did you try setting
the :extend attribute to the value 'reset?




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.