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: Dmitry Antipov
Subject: bug#16420: 24.3; Drawing an overlay causes 100% cpu utilization
Date: Sun, 12 Jan 2014 20:04:22 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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.

IIUC Emacs itself is still responsible after C-x C-e; could you
please eval (overlays-in (point-min) (point-max)) immediately after?

After evaluating this elisp, top reports 100% CPU utilization from X.

What about Emacs CPU utilization, and RSS of X and Emacs as well?

Dmitry






reply via email to

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