all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: E Sabof <evgkeni.sampelnikof@gmail.com>
To: 16709@debbugs.gnu.org
Subject: bug#16709: Regression: face-remap-alist not applied until the window is selected
Date: Mon, 10 Feb 2014 13:23:29 +0000	[thread overview]
Message-ID: <877g93cd9q.fsf@gmail.com> (raw)

In emacs -Q, execute the following snippet:

(progn
  (set-window-buffer (split-window) (get-buffer-create "test-buffer1"))
  (with-current-buffer "test-buffer1"
    (insert "Quo sunt sicut et, est unde in ergo."))
  (run-with-timer 1 nil
                  (lambda ()
                    (with-current-buffer "test-buffer1"
                      (face-remap-add-relative
                       'default 'bold)))))


EXPECTED:

The face should change to bold in 1 second.

RESULT:

The face changes, only once the window of "test-buffer1" is selected.


Evgeni

GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4) of 2014-02-07 on ubuntu





             reply	other threads:[~2014-02-10 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10 13:23 E Sabof [this message]
2014-02-10 16:11 ` bug#16709: Regression: face-remap-alist not applied until the window is selected Eli Zaretskii

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=877g93cd9q.fsf@gmail.com \
    --to=evgkeni.sampelnikof@gmail.com \
    --cc=16709@debbugs.gnu.org \
    /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.