From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Duncan Bayne Newsgroups: gmane.emacs.bugs Subject: bug#74337: 29.4; Visiting a file with Unicode emojis is very slow Date: Thu, 14 Nov 2024 07:47:08 +1100 Message-ID: <86wmh6dfnb.fsf@bayne.id.au> References: <865xore32f.fsf@bayne.id.au> <86v7wrkw4p.fsf@gnu.org> <861pzeevpy.fsf@bayne.id.au> <86plmylvq4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4051"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 29.4 Cc: 74337@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 13 21:49:25 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 1tBKIl-0000p4-Dd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Nov 2024 21:49:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBKIU-0008Nm-3H; Wed, 13 Nov 2024 15:49:06 -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 1tBKIQ-0008Mz-Qq for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 15:49: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 1tBKIQ-0001Tn-IB for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 15:49: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:In-reply-to:Date:From:References:To:Subject; bh=0hpSnP5chdkgjKr3oNVGNm2oKn1sZSWCVms+UXYmaiM=; b=Mp1AcFscONRRGHZhzKqOX4621o7DNpSpXciTibTZ1Io++j/a8TwoQr/b6guVHL0QJ+Z20hL6cCn0h4iOw0JQ17seh16kbX9zntvWiJoDYJy80Oori3HmHYfFWaTCKWQMqIC39TSjbxD1qUQZy1RJMns2FP0DNaAcabLZ+yicXdKkvCJ81yupGJEhXahGEJRglUnq35I+eKgfWQ0i9QgEGPs4+EpeTenAV1NKbr3D0ejKD7e7zYfwqaApgEjPFOS05FwY4q8tAMuOpZ7msT+3oFcas9I63E3UtfR8hfmHxUVKJ7yM/crpIk9tJebVPHxtt7GssB80wSNTIkbtt8Ni2A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBKIQ-0002RM-Bv for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2024 15:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Duncan Bayne Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2024 20:49: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.17315309059328 (code B ref 74337); Wed, 13 Nov 2024 20:49:02 +0000 Original-Received: (at 74337) by debbugs.gnu.org; 13 Nov 2024 20:48:25 +0000 Original-Received: from localhost ([127.0.0.1]:43842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBKHm-0002QI-1O for submit@debbugs.gnu.org; Wed, 13 Nov 2024 15:48:25 -0500 Original-Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]:58959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBKHj-0002Q5-98 for 74337@debbugs.gnu.org; Wed, 13 Nov 2024 15:48:21 -0500 Original-Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 343E31140213; Wed, 13 Nov 2024 15:48:14 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 13 Nov 2024 15:48:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayne.id.au; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1731530894; x=1731617294; bh=0hpSnP5chd kgjKr3oNVGNm2oKn1sZSWCVms+UXYmaiM=; b=DY+R2so6cVE8AGeZLOmqssqPQr WwS5tPJsDIq3n+kRgFYkCguGZDkO2ariAJl/xMiBnVB95UC0MH4dE80hg5RodcEs Z/vE7Gg7JPc0sf1MiGpHa2u+IqcziTy9/buAniYL6lrlP1aLCTtWOXYAZI1thc4W df6as7sEq3gI/aLhuzlRGn50/RCUbgHuhpXzGSRWX1KlkMgu/upcAlq7TvmTQebM VBybzcA8vBjXS4x7SI/rSPFkn4LvaPse/WrkLvNkGbDHoufqIjR8qOwJ/SlUwtn3 IN5mC65GnMPsuUbTAhPHFpXqWs1K4zPq2pZG82k3v6RbJLF2qNIjR+kyM0FA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1731530894; x=1731617294; bh=0hpSnP5chdkgjKr3oNVGNm2oKn1sZSWCVms +UXYmaiM=; b=OsrZQ1Q7trbOz+PEEcoMF893M72pEvtNpBxBox/TxRyZ4twDcOR 1D4htFpizdbui/hYBqqRIdChY72GQtLKMH1NBv3PjQgIPAgLi9vQFkBQ8zCsaKlO NumF/30BTmF0fg3Z2a9F3KEKD3N1wm8AHCFnhg6DYI72ufbb1eJOI+cJgHDhgtof XUEJQ/s899DpbCapJeKeZDu7CM0YwBt+WZ9YdM5CZuefNRFdOWJ2FTaOAvbEOE1F nO5tzUUWd0kY8jauB7pOzlwPQ/MhMkLJTmebaB6vyksbgkEJFY/TZh1xlSrSL4ej DzIx3DP/26aponwyVL433tkCWR3ktl6CyxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvddtgddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfhgfhffvvefuffgjkfggtgesthdtredttdertden ucfhrhhomhepffhunhgtrghnuceurgihnhgvuceoughunhgtrghnsegsrgihnhgvrdhiug drrghuqeenucggtffrrghtthgvrhhnpeehtdduveekleevgfehueduffduuedvteejueet hfegfeefieeiheduueekhfehgeenucffohhmrghinhepsggrhihnvgdrihgurdgruhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeguuhhntggr nhessggrhihnvgdrihgurdgruhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepjeegfeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgt phhtthhopegvlhhiiiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i675340b2:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Nov 2024 15:48:12 -0500 (EST) In-reply-to: <86plmylvq4.fsf@gnu.org> 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:295292 Archived-At: Eli Zaretskii writes: > [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? > > [2. application/octet-stream; known-hosts]... Ah, that could be the problem. My system fonts can't display any of those emoji - they display as "tofu" after the 1.5 minutes. What font are you using? I'll install it and try to reproduce the issue again. -- Duncan Bayne +61 420 817 082 | gemini://duncan.bayne.id.au/ I usually check my mail every 24 - 48 hours. If there's something urgent going on, please send me an SMS or call me.