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#71454: 30.0.50; Performance issues with font selection Date: Mon, 10 Jun 2024 15:59:52 +0300 Message-ID: <86sexl7y2f.fsf@gnu.org> References: <87v82h6a33.fsf@jeremybryant.net> <865xuh9fmt.fsf@gnu.org> <4F59591A-23F6-4DB2-A350-52ED24408F39@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26611"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jb@jeremybryant.net, 71454@debbugs.gnu.org To: Kai Ma Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 10 17:13:10 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 1sGghp-0006et-9P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Jun 2024 17:13:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGghV-0000Ew-SF; Mon, 10 Jun 2024 11:12:49 -0400 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 1sGghU-0000Dl-4D for bug-gnu-emacs@gnu.org; Mon, 10 Jun 2024 11:12:48 -0400 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 1sGghT-0007XV-Re for bug-gnu-emacs@gnu.org; Mon, 10 Jun 2024 11:12:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sGghk-0003em-QQ for bug-gnu-emacs@gnu.org; Mon, 10 Jun 2024 11:13:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jun 2024 15:13:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71454 X-GNU-PR-Package: emacs Original-Received: via spool by 71454-submit@debbugs.gnu.org id=B71454.171803233313818 (code B ref 71454); Mon, 10 Jun 2024 15:13:04 +0000 Original-Received: (at 71454) by debbugs.gnu.org; 10 Jun 2024 15:12:13 +0000 Original-Received: from localhost ([127.0.0.1]:40724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGggu-0003aZ-QH for submit@debbugs.gnu.org; Mon, 10 Jun 2024 11:12:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGggt-0003Zs-En for 71454@debbugs.gnu.org; Mon, 10 Jun 2024 11:12:11 -0400 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 1sGecs-0004Sd-8r; Mon, 10 Jun 2024 08:59:54 -0400 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=kHLdgt/zWggnrY4ek6iwFlZVfvJ5Pw/mRFsWXzrZGNM=; b=MrqijuwDnc9K Trxc8EKtI/elRyFRvz69AQ6J78ZMemU7gujOuKJPfsarbDE4rRg8whwA85/5ywD4GrQSIu3/oDvf6 CbH5hy2lke894w4Vl0pa3bx3B3GK9dwaUYxiunx13fRDNQ95rUV179UjXt4DcP9pTHOL5nxkLA1KN CGwNAkaF2XGr2nsel4dwfVK331epQzzPchS8miXKUrDsKJyAp9j/Ohg9kaKuI/WJG+R1VUrFjXEXn czYjuH/YK/mbcN4IH5f6hLvkF/rVd1Bne+UFIpPM43D1ITjXXrOyZz2tszcAcOOsOLDZIPEO2DdZL Q0fXQKqcpVq4qS9gevppEA==; In-Reply-To: <4F59591A-23F6-4DB2-A350-52ED24408F39@gmail.com> (message from Kai Ma on Mon, 10 Jun 2024 14:35:50 +0200) 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:287036 Archived-At: > From: Kai Ma > Date: Mon, 10 Jun 2024 14:35:50 +0200 > Cc: Jeremy Bryant , > 71454@debbugs.gnu.org > > > > > On Jun 10, 2024, at 13:55, Eli Zaretskii wrote: > > > >> Cc: 71454@debbugs.gnu.org > >> From: Kai Ma > >> Date: Mon, 10 Jun 2024 00:17:55 +0200 > >> > >> > >>> On Jun 10, 2024, at 00:10, Jeremy Bryant wrote: > >>> > >>> Would you be able to provide a self-contained series of steps starting > >>> from emacs -Q? > >> > >> On my machine it is extremely easy to reproduce by simply: > >> > >> 1. emacs -Q > >> 2. Switch to *scratch* > >> 3. Copy the provided text into *scratch* > >> 4. Emacs will freeze for 17 seconds or so, and it cannot be interrupted by C-g > > > > I cannot reproduce this, I get an almost instantaneous redisplay with > > those characters. > > > > When your Emacs eventually displays the text, how many characters are > > shown as boxes with hex code, and which ones are those? > > None are hex code here. They eventually get displayed, but it takes a long time. Then it definitely sounds like macOS specific. Does anyone know how Emacs on macOS searches for fonts, and whether there are any font-caching facilities, either in Emacs or by the OS?