From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32159: 26.1; inhibit-compacting-font-caches does not fix all fonts lagging issue Date: Sun, 15 Jul 2018 05:39:37 +0300 Message-ID: <83muut9q8m.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531622295 6451 195.159.176.226 (15 Jul 2018 02:38:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2018 02:38:15 +0000 (UTC) Cc: 32159@debbugs.gnu.org To: Moses Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 15 04:38:11 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feWvK-0001YA-Sh for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jul 2018 04:38:11 +0200 Original-Received: from localhost ([::1]:44072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feWxM-0000JD-F7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jul 2018 22:40:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feWxD-0000J2-4N for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2018 22:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feWx8-00058V-8y for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2018 22:40:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feWx8-00058M-5S for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2018 22:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1feWx7-000050-R5 for bug-gnu-emacs@gnu.org; Sat, 14 Jul 2018 22:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jul 2018 02:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32159-submit@debbugs.gnu.org id=B32159.153162238732747 (code B ref 32159); Sun, 15 Jul 2018 02:40:01 +0000 Original-Received: (at 32159) by debbugs.gnu.org; 15 Jul 2018 02:39:47 +0000 Original-Received: from localhost ([127.0.0.1]:60391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feWwq-0008W3-RI for submit@debbugs.gnu.org; Sat, 14 Jul 2018 22:39:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1feWwp-0008Vq-Ff for 32159@debbugs.gnu.org; Sat, 14 Jul 2018 22:39:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feWwf-0004pt-4o for 32159@debbugs.gnu.org; Sat, 14 Jul 2018 22:39:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feWwf-0004pS-18; Sat, 14 Jul 2018 22:39:33 -0400 Original-Received: from [176.228.60.248] (port=3559 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1feWwe-0001bC-Io; Sat, 14 Jul 2018 22:39:32 -0400 In-reply-to: (message from Moses on Sun, 15 Jul 2018 00:02:13 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:148534 Archived-At: > From: Moses > Date: Sun, 15 Jul 2018 00:02:13 +0000 > > For bug#24938, I have to set inhibit-compacting-font-caches to non-nil > [0] to fix the lagging issue. It fixes almost but not all the > problems. Lagging reappears when I opening a multi languages file > (e.g. M-x view-hello-file), Emacs could become very very slow until > the file is completely opened. That lagging might have a valid reason: how many fonts do you have installed? What does (length (x-list-fonts "*")) return? If you have many fonts, Emacs will search them all to find a suitable one, and if some characters in HELLO don't have fonts, it will search them several times. That might take time. If the lagging disappears once you display the entire file, that is most probably the reason.