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: Wed, 13 Nov 2024 22:33:39 +0200 Message-ID: <86plmylvq4.fsf@gnu.org> References: <865xore32f.fsf@bayne.id.au> <86v7wrkw4p.fsf@gnu.org> <861pzeevpy.fsf@bayne.id.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27820"; 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 Wed Nov 13 21:35:14 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 1tBK53-00072B-JI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Nov 2024 21:35:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBK4u-0004dj-77; Wed, 13 Nov 2024 15:35:04 -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 1tBK4s-0004cM-B2 for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 15:35:02 -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 1tBK4s-0008K3-0O for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 15:35:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=klrezdXzNBDTRE7a0LKSLTalR2XM55hZ17n7hgl0+Ns=; b=VW+pMLGShP9OkhJ4OOyKCm2iYU1/pwv012UGHgS4WNU47c/hu6wQt5ni4ePrHvok6hmNiZuxYqdzlPxsN9YgH6tmfrPEE54vZqeiZa4S8TnbTYPTm35EIT64wPN2yoKc6qbWTtNR20yLZ2TWTZT8I72nB2klbwgTNxpEGvUepSfE1qqOcfgfZP8Hw8Lmas959cbnh3TL1E+nNllq/QSw2LD5lC9OfGX+mOX4xsfSJMh4oWE9VN/NHP9GuVM/PfnOg+mvSl1phCAULvHZE6b7vMtsWm/lS3WkhWCgTwrcCMRQG0myQAAr5NHH5qq7iAk2j6v7+LzTilCt2RU478Nr7g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBK4r-0001mw-Rq for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 15:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2024 20:35:01 +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.17315300666820 (code B ref 74337); Wed, 13 Nov 2024 20:35:01 +0000 Original-Received: (at 74337) by debbugs.gnu.org; 13 Nov 2024 20:34:26 +0000 Original-Received: from localhost ([127.0.0.1]:43805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBK4H-0001lv-K5 for submit@debbugs.gnu.org; Wed, 13 Nov 2024 15:34:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBK4F-0001li-Hv for 74337@debbugs.gnu.org; Wed, 13 Nov 2024 15:34:24 -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 1tBK49-0008II-Lt; Wed, 13 Nov 2024 15:34:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Subject:In-Reply-To:To:From: Date; bh=klrezdXzNBDTRE7a0LKSLTalR2XM55hZ17n7hgl0+Ns=; b=b6vJUkC7P0A3ty1cwywy G580UIRY/HwG9mtDyip0J6AT8vpkVb7oZzJ651l9iEdytGZJ2fQs7rFl6qYqMeaVIKeFIBTv3XB0b 3Wk22uoRFpZLqi6sqqnaAaVSJ6HwEf1C4Micv+9QKGm5C8DWEALbKpMrtlwEjt/3Fjsm5Si6WKNDk +lnyAKDYeXuj7w/MsbYJyAcDI9jJ0QD+Ow3og/x8uhznHbrb/4mLQWpyv3TIuIgZ1xhlr7FHPCQBm IUDKD+hTNkdtl/+QpSZUeRoAzzMKUQmANAd1aD0xcKBefWTwocnNuc/tbghq5Yb8sONfRdi2g0waX OAlWEdfX63/35A==; In-Reply-To: <861pzeevpy.fsf@bayne.id.au> (message from Duncan Bayne on Thu, 14 Nov 2024 07:15:09 +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:295288 Archived-At: --=-=-= Content-Type: text/plain [Please use Reply All to reply, to keep the bug tracker CC'ed.] > From: Duncan Bayne > Date: Thu, 14 Nov 2024 07:15:09 +1100 > > Eli Zaretskii writes: > > >> From: Duncan Bayne > >> Date: Wed, 13 Nov 2024 23:13:26 +1100 > >> > >> It takes ~ 1.5 minutes to visit even a small file containing Unicode > >> emojis, and CPU utilization goes to 100% (of a single core) while it is > >> loading. > >> > >> Reproduction steps: > >> > >> 1. Open Emacs with `emacs -Q`. > >> 2. Visit the attached file (known-hosts). > >> 3. Observe that it takes > 1 minute to visit the file. > > > > You haven't attached the file, please post it. > > > > Thanks. > > Argh, sorry :/ Attached this time. I'm attaching it also, to let the bug tracker and others to see it. I cannot reproduce the problem on my system (which is not amd64-portbld-freebsd): the file displays almost immediately for me. Do emoji display as "tofu" (i.e. rectangular boxes with hex codepoint value) on your system, after those 1.5 minutes, or do they display as emoticons? IOW, do you have on your system fonts that can display emoji? --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=known-hosts Content-Transfer-Encoding: base64 IyDwn5StIEtlbm5lZHk6IFNlYXJjaCBHZW1pbmkgU3BhY2UKPT4gL3NlYXJjaCDwn5SNIFNlYXJj aAo9PiAvaW1hZ2Utc2VhcmNoIPCflrwgSW1hZ2UgU2VhcmNoCgojIyDwn4+OIERlbG9yZWFuIFRp bWUgTWFjaGluZQpJdCdzIGxpa2UgdGhlIFdheWJhY2sgTWFjaGluZSwgYnV0IGZvciBHZW1pbmkK PT4gL2FyY2hpdmUvIPCfj44gVmlldyBBcmNoaXZlZCBDb250ZW50CgojIyBDYXBzdWxlIFRvb2xz Cj0+IC9yZXBvcnRzL3NpdGUtaGVhbHRoIPCfqbogQ2Fwc3VsZSBIZWFsdGggUmVwb3J0Cj0+IC9j ZXJ0cy92YWxpZGF0b3IvIPCflI8gQ2VydGlmaWNhdGUgYW5kIEtleSBWYWxpZGF0b3IKPT4g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