all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Leo <sdl.web@gmail.com>
Cc: 6091@debbugs.gnu.org
Subject: bug#6091: 23.1.96; fringe face can not be remapped
Date: Sun, 11 Jul 2010 11:59:28 -0400	[thread overview]
Message-ID: <87tyo6nh5r.fsf@stupidchicken.com> (raw)
In-Reply-To: <m1k4p2k3a5.fsf@cam.ac.uk> (Leo's message of "Sun, 11 Jul 2010 06:15:14 +0100")

Leo <sdl.web@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.





  reply	other threads:[~2010-07-11 15:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03 17:25 bug#6091: 23.1.96; fringe face can not be remapped Leo
2010-07-06 20:25 ` Chong Yidong
2010-07-07  0:08   ` Leo
2010-07-10 18:01     ` Chong Yidong
2010-07-11  5:15       ` Leo
2010-07-11 15:59         ` Chong Yidong [this message]
2010-07-10  7:54 ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyo6nh5r.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=6091@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.