From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74337: 29.4; Visiting a file with Unicode emojis is very slow Date: Thu, 14 Nov 2024 16:31:43 +0200 Message-ID: <86h689khtc.fsf@gnu.org> References: <865xore32f.fsf@bayne.id.au> <86v7wrkw4p.fsf@gnu.org> <861pzeevpy.fsf@bayne.id.au> <86plmylvq4.fsf@gnu.org> <86wmh6dfnb.fsf@bayne.id.au> <86jzd6l3k8.fsf@gnu.org> <86msi2115c.fsf@bayne.id.au> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37101"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74337@debbugs.gnu.org To: Duncan Bayne Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 15:35:31 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tBawV-0009Ws-7U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 15:35:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBawP-0007TY-2e; Thu, 14 Nov 2024 09:35:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBawG-0007QA-NA for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 09:35:22 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBaw3-0004tX-Cl for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 09:35:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=8YDUZrcfUx6IUU8BOmE5i+czPW4lkc8SZpOovgMQb30=; b=I+fggox/54T8OW6/yv+gAvuYtxLybQ/98BtLndVu7iJiVNmllorGJC6Ixy3oAcNsOyUsUle4PBCXD5NQdv2ubXlJCIX6XZTQ2HuXj2cm7jCAc/JWkJtjq4Pob80zn6jVV9KVbkdHpzef+d7XroeRiL/8d1FsUJOwuh/2KgZql9veeUoO2o7z9GwB1hle/wuGrDxPhWB5+gHIZ/ceMjD05or4jHmGJnnbMbbrFB0J7oe+xV0pJR2lnPqj3r/k7MA/Kd5RHdqPirp/1F0pwiFlP5Y99mcAzHPjlMUpMu2nynQ6INbPqrmOEw3XYCBpiX804i5u1QneBIVrNovjClbTzw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBaw2-0001bo-Bh for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 09:35: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, 14 Nov 2024 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74337 X-GNU-PR-Package: emacs Original-Received: via spool by 74337-submit@debbugs.gnu.org id=B74337.17315948466086 (code B ref 74337); Thu, 14 Nov 2024 14:35:02 +0000 Original-Received: (at 74337) by debbugs.gnu.org; 14 Nov 2024 14:34:06 +0000 Original-Received: from localhost ([127.0.0.1]:45640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBav8-0001a5-76 for submit@debbugs.gnu.org; Thu, 14 Nov 2024 09:34:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBav5-0001Zf-8u for 74337@debbugs.gnu.org; Thu, 14 Nov 2024 09:34:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBast-0003fz-9q; Thu, 14 Nov 2024 09:31:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=8YDUZrcfUx6IUU8BOmE5i+czPW4lkc8SZpOovgMQb30=; b=Nr2UfsyW2U/c 6SajLnIa8dkK3aGXOAv6FJM6YHlkfJahp8MQf8J99X89H/wglO943FLklRzNwGp+0+1gYC43nrZSk U+oMWEjntIRYYjB/D/V2h6p9NHPT7feYlQpb2fXODOoFQGck5jgBeauvojQHh339FM8VhgGzUwjbn aceT+ijKh6RW5RhoFVkwFxGY9Jxdb3Zzyn+oW45s9Hu1mx8+CZF345YU8PRyCF25/6sL+652bJI/h MynzMmzXyJflzQyJ2QANASlxP+ZInmDQcgAiISTUuK5y0NncrYXfW+6mI5m3374DmVkJzuqDr/xh4 qRGzamcX35zNNJJi+oTYMw==; In-Reply-To: <86msi2115c.fsf@bayne.id.au> (message from Duncan Bayne on Thu, 14 Nov 2024 22:42:29 +1100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295332 Archived-At: > From: Duncan Bayne > Cc: 74337@debbugs.gnu.org > Date: Thu, 14 Nov 2024 22:42:29 +1100 > > Eli Zaretskii writes: > > > OK, so how many fonts do you have installed overall on that system? > > What do the following expressions yield when evaluated with "M-:"? > > > > (length (font-family-list)) > > (length (x-list-fonts "*" 'default)) > > (length (font-family-list)) returns 10775. > (length (x-list-fonts "*" 'default)) returns 7333. Whoa! it's a small surprise you need to wait for so long when some character has no font. Why do you have so many fonts installed? do you really need them? > > If you install Noto Color Emoji, Emacs should use that font by default > > for displaying emoji. > > I have installed Noto from packages with: > > pkg install -y \ > noto \ > noto-emoji \ > > ... and refreshed my font cache with: > > fc-cache -fv > > I've attached the log from fc-cache. > > With this all done, most of the emoji in the file are rendered properly, > but a few still appear as tofu, and it still takes minutes to open. Those characters that show as tofu are not emoji. I suggest to install Symbola, it should have them displayed correctly.