GNU bug report logs - #6091
23.1.96; fringe face can not be remapped

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 3 May 2010 18:29:01 UTC

Severity: normal

Merged with 9534

Found in versions 23.1.96, 23.3

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Leo <sdl.web <at> gmail.com>
Cc: 6091 <at> debbugs.gnu.org
Subject: bug#6091: 23.1.96; fringe face can not be remapped
Date: Sun, 11 Jul 2010 11:59:28 -0400
Leo <sdl.web <at> gmail.com> writes:

> 1. emacs -Q
> 2. paste the following into *scratch*
>
>   (push '(fringe (:foreground "#71d3b4" :background
>                   "#233323"))
>         face-remapping-alist)
>
> 3. C-j (not C-x C-e)

This is because the Emacs redisplay engine doesn't repaint the parts of
the screen unless it has changed, and it has no way to know that you've
changed the variable `face-remapping-alist'.  You can order a refresh by
calling `redraw-display'.

We could set up a more elaborate system for the redisplay engine to keep
track of `face-remapping-alist', but I don't think it's warranted, and
it may slow down the much more common case where `face-remapping-alist'
never changes.  Instead, I will update the doc of `face-remapping-alist'
to mention this issue.




This bug report was last modified 13 years and 311 days ago.

Previous Next


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