GNU bug report logs - #33244
27.0.50; buffer-local face-remapping not obeyed for the fringe

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Fri, 2 Nov 2018 18:09:01 UTC

Severity: normal

Found in version 27.0.50

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

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: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 33244 <at> debbugs.gnu.org
Subject: bug#33244: 27.0.50; buffer-local face-remapping not obeyed for the fringe
Date: Sat, 03 Nov 2018 12:42:16 +0200
> From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
> Date: Fri, 02 Nov 2018 13:27:17 -0400
> 
> If I do:
> 
>     src/emacs -Q --eval "(face-remap-add-relative 'fringe '(:background \"red\"))"
>     C-x 4 b *Messages*
>     M-x redraw-display
>     C-x o
>     M-x redraw-display
> 
> I see that Emacs redraws all the fringes with the same `fringe` face, that which
> happens to be specified in the currently selected window, instead of
> correctly using for each window the `fringe` face adjusted to the
> face-remapping that happens to be active in the window's buffer.

Thanks, fixed.

Note that the solution necessarily makes redisplay a tiny bit slower,
especially when many windows need to be updated.




This bug report was last modified 6 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.