[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33244: 27.0.50; buffer-local face-remapping not obeyed for the fring
From: |
Eli Zaretskii |
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@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.