unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16709: Regression: face-remap-alist not applied until the window is selected
@ 2014-02-10 13:23 E Sabof
  2014-02-10 16:11 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: E Sabof @ 2014-02-10 13:23 UTC (permalink / raw)
  To: 16709

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#16709: Regression: face-remap-alist not applied until the window is selected
  2014-02-10 13:23 bug#16709: Regression: face-remap-alist not applied until the window is selected E Sabof
@ 2014-02-10 16:11 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2014-02-10 16:11 UTC (permalink / raw)
  To: E Sabof; +Cc: 16709-done

> From: E Sabof <evgkeni.sampelnikof@gmail.com>
> Date: Mon, 10 Feb 2014 13:23:29 +0000
> 
> 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.

Fixed in trunk revision 116401.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-10 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-10 13:23 bug#16709: Regression: face-remap-alist not applied until the window is selected E Sabof
2014-02-10 16:11 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).