From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19266: 24.4; Font-related window redrawing delays on OS X Date: Thu, 04 Dec 2014 09:30:05 +0200 Message-ID: <83y4qn50ua.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1417678225 4843 80.91.229.3 (4 Dec 2014 07:30:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 07:30:25 +0000 (UTC) Cc: 19266@debbugs.gnu.org To: Kirill Ignatiev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 04 08:30: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 1XwQrj-0003no-Cx for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 08:30:19 +0100 Original-Received: from localhost ([::1]:44783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwQri-0000Xg-Uo for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Dec 2014 02:30:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwQrZ-0000Vt-M2 for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 02:30:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwQrT-0001EK-E4 for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 02:30:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwQrT-0001Dp-BW for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 02:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XwQrS-00061R-NY for bug-gnu-emacs@gnu.org; Thu, 04 Dec 2014 02:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Dec 2014 07:30: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.141767819623115 (code B ref 19266); Thu, 04 Dec 2014 07:30:02 +0000 Original-Received: (at 19266) by debbugs.gnu.org; 4 Dec 2014 07:29:56 +0000 Original-Received: from localhost ([127.0.0.1]:53202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwQrM-00060k-D3 for submit@debbugs.gnu.org; Thu, 04 Dec 2014 02:29:56 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:41192) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XwQrJ-00060b-K6 for 19266@debbugs.gnu.org; Thu, 04 Dec 2014 02:29:54 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NG100J00R5QCN00@mtaout25.012.net.il> for 19266@debbugs.gnu.org; Thu, 04 Dec 2014 09:25:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NG100DDRRALRM60@mtaout25.012.net.il>; Thu, 04 Dec 2014 09:25:33 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il 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:96843 Archived-At: > Date: Thu, 4 Dec 2014 02:13:30 -0500 > From: Kirill Ignatiev > > [This is a copy of this question on Emacs.SE: > http://emacs.stackexchange.com/questions/4061] > At least one other person has the same problem. Please ask those persons to report here directly, and to read the responses and discussions. > Often when I'm editing a file with many uncommon unicode symbols (e.g., > in languages like haskell, julia or c++), and (I think) especially with > an ornate color theme, I experience delays of maybe about five seconds > when switching between buffers. Running emacs under lldb show a stack > trace below; I get a similar stack trace from running `emacs -Q` and > typing `C-h h` (`view-hello-file`), which takes quite a while to display > the hello file. AFAICT, these delays are due to Emacs searching the system for appropriate fonts needed to display those unusual symbols. > What can I do about these window redrawing delays? I am not sure what I > have misconfigured. Optimize your font configuration, so that the font search becomes faster. > Does emacs reload all fonts every time I switch to a different frame or > buffer? It also seems to have a delay sometimes when a previously > invisible overlay is shown. Emacs only looks for a font when it needs to display something. when previously invisible portion is about to be displayed, Emacs needs the fonts to display it.