From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kirill Ignatiev Newsgroups: gmane.emacs.bugs Subject: bug#19266: 24.4; Font-related window redrawing delays on OS X Date: Thu, 11 Dec 2014 21:10:32 -0500 Message-ID: References: <83y4qn50ua.fsf@gnu.org> <957C7241-1F90-42A3-83DE-4696B483C1F0@lunaryorn.com> <83ppbz4t3f.fsf@gnu.org> <83fvcrzbku.fsf@gnu.org> <8361dit70g.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1418350286 18215 80.91.229.3 (12 Dec 2014 02:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 02:11:26 +0000 (UTC) Cc: Dmitry Antipov , Sebastian Wiesner , 19266@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 12 03:11:19 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 1XzFhO-0007tQ-SJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Dec 2014 03:11:19 +0100 Original-Received: from localhost ([::1]:55131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzFhO-0006cg-C4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 21:11:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzFhG-0006cJ-7i for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 21:11:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzFh9-0001lR-52 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 21:11:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzFh9-0001lF-1D for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 21:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XzFh8-00061c-Bi for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 21:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kirill Ignatiev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Dec 2014 02:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19266 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19266-submit@debbugs.gnu.org id=B19266.141835024123133 (code B ref 19266); Fri, 12 Dec 2014 02:11:02 +0000 Original-Received: (at 19266) by debbugs.gnu.org; 12 Dec 2014 02:10:41 +0000 Original-Received: from localhost ([127.0.0.1]:43388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzFgn-000613-9O for submit@debbugs.gnu.org; Thu, 11 Dec 2014 21:10:41 -0500 Original-Received: from mail-wg0-f47.google.com ([74.125.82.47]:41276) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzFgj-00060p-RF for 19266@debbugs.gnu.org; Thu, 11 Dec 2014 21:10:38 -0500 Original-Received: by mail-wg0-f47.google.com with SMTP id n12so7890815wgh.6 for <19266@debbugs.gnu.org>; Thu, 11 Dec 2014 18:10:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+lLa3JtTQF6cDzH8zUl5F8fUCnrbb2QBy3Hhqe9/cxg=; b=ghKp8OS9g71jQTI0xY8Gu9HxeiR4tWbSs7AMmDVZTjRby5Ir8ZAvdeylf3Ha9t17+a 4kTzp5GcseSmInS05zIE8u4jZ/OgWv8p/J2aT7E/6mo1mihWfc+yikhxqj9CAwTBiolw SORELScImRn/r/Uv6BwpW2Doyw+aCsfKKvOCjY8UnASz+7Iy7pG9EHaH5WzCigYmLzYu lLAliD04PyexSSrD2ere6F/EfIqDTZFks87B6l5JzzB/otc3SDbUBQO3uARRrDVEeXQQ 61baiYW2fOjKIaXfIo0mne4apyc4W8IAyWHbZ2ocWN6F6Rru033NoPMngnIPtGPmgi0H xhHA== X-Received: by 10.194.249.70 with SMTP id ys6mr21772076wjc.61.1418350232309; Thu, 11 Dec 2014 18:10:32 -0800 (PST) Original-Received: by 10.27.87.87 with HTTP; Thu, 11 Dec 2014 18:10:32 -0800 (PST) In-Reply-To: <8361dit70g.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:97245 Archived-At: On 11 December 2014 at 12:45, Eli Zaretskii wrote: >> Date: Wed, 10 Dec 2014 18:50:01 -0500 >> From: Kirill Ignatiev >> Cc: Sebastian Wiesner , 19266@debbugs.gnu.org > > Comment out the call to cleanup_vector? Oops, I only tried to turn compact_font_cache_entry into a noop. But neither that, nor doing nothing in cleanup_vector works. If I comment out drv->close, I see a bunch of calls to drv->close not being made, but new fonts are *still* being opened in font_open_entity. I'm guessing that when fonts are garbage collected, they are already genuinely discarded, not pointed to from elisp structures (or where they are stored), and are genuine garbage. Do you know where the pointers to fonts live? I haven't figured out where they are being discarded, and I'd like to stop them from becoming garbage in the first place. > >> How do I trigger font garbage collection manually? > > Did you try "M-x garbage-collect RET"? Yes, but it doesn't seem to trigger closing fonts. Perhaps there is some other process at work there? Thanks for your help, these redrawing delays are really irritating.