From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#16420: 24.3; Drawing an overlay causes 100% cpu utilization Date: Sun, 12 Jan 2014 18:53:35 +0100 Message-ID: <52D2D69F.7080209@swipnet.se> References: <52D2BD06.7010905@yandex.ru> <83ha9988nw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389549252 21015 80.91.229.3 (12 Jan 2014 17:54:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2014 17:54:12 +0000 (UTC) Cc: expez@expez.com, 16420@debbugs.gnu.org To: Eli Zaretskii , Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 12 18:54:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W2PEn-00063N-Qp for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jan 2014 18:54:17 +0100 Original-Received: from localhost ([::1]:38824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2PEn-0000kR-F2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jan 2014 12:54:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2PEd-0000kJ-Qa for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2014 12:54:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2PEY-0000oB-GQ for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2014 12:54:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2PEY-0000o5-D5 for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2014 12:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W2PEX-0002Lu-M3 for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2014 12:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jan 2014 17:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16420 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16420-submit@debbugs.gnu.org id=B16420.13895492239010 (code B ref 16420); Sun, 12 Jan 2014 17:54:01 +0000 Original-Received: (at 16420) by debbugs.gnu.org; 12 Jan 2014 17:53:43 +0000 Original-Received: from localhost ([127.0.0.1]:48001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W2PEE-0002LD-Jc for submit@debbugs.gnu.org; Sun, 12 Jan 2014 12:53:43 -0500 Original-Received: from mailfe08.swip.net ([212.247.154.225]:51958 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W2PEB-0002L1-Dk for 16420@debbugs.gnu.org; Sun, 12 Jan 2014 12:53:40 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 469125788; 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 In-Reply-To: <83ha9988nw.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83356 Archived-At: 2014-01-12 17:30, Eli Zaretskii skrev: >> Date: Sun, 12 Jan 2014 20:04:22 +0400 >> From: Dmitry Antipov >> 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.