bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16420: 24.3; Drawing an overlay causes 100% cpu utilization


From: Jan Djärv
Subject: bug#16420: 24.3; Drawing an overlay causes 100% cpu utilization
Date: Sun, 12 Jan 2014 18:53:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

2014-01-12 17:30, Eli Zaretskii skrev:
Date: Sun, 12 Jan 2014 20:04:22 +0400
From: Dmitry Antipov <dmantipov@yandex.ru>
Cc: 16420@debbugs.gnu.org

On 01/12/2014 02:01 AM, Lars Andersen wrote:

Starting from emacs -Q:

(defface flycheck-warning
'((((supports :underline (:style wave)))
:underline (:style wave :color "DarkOrange"))
(t
:underline t :inherit warning))
"Flycheck face for warnings."
:package-version '(flycheck . "0.13")
:group 'flycheck-faces)
(let ((ov (make-overlay (point) (point-at-eol)))
(face 'flycheck-warning))
(overlay-put ov 'face face)) ;; C-x C-e this last form to reproduce

Note that C-x C-e has no visible effect until you evaluate first
'defface' form too.

Dmitry, can you reproduce this?  Because I can't, neither in Emacs
24.3 nor in the latest trunk.  But that's on MS-Windows; I don't have
access to a GUI session on Unix.


Can't reproduce on GNU/Linux, Gtk 3, emacs 24.3 or the trunk. X is using about 1%, emacs less than that as it is idle.

        Jan D.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]