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#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big Date: Thu, 22 Feb 2024 08:21:26 +0200 Message-ID: <86cyspm32x.fsf@gnu.org> References: <87il2qas3z.fsf@disroot.org> <86bk8hx2kf.fsf@gnu.org> <87plwxyf5w.fsf@yahoo.com> <874je14wua.fsf@disroot.org> <86jzmxn579.fsf@gnu.org> <87zfvt3fap.fsf@disroot.org> <87v86h3e1h.fsf@disroot.org> <86edd5mwms.fsf@gnu.org> <87r0h536v0.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23976"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, mail@daniel-mendler.de, 69140@debbugs.gnu.org To: Aleksandr Vityazev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 22 07:25:03 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 1rd2Vz-0005xl-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Feb 2024 07:25:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd2Vm-0005so-LG; Thu, 22 Feb 2024 01:24:50 -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 1rd2Vk-0005sd-BU for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 01:24:48 -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 1rd2Vc-0004V2-0G for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 01:24:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rd2Vy-00037v-9F for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 01:25: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, 22 Feb 2024 06:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69140 X-GNU-PR-Package: emacs Original-Received: via spool by 69140-submit@debbugs.gnu.org id=B69140.170858305311900 (code B ref 69140); Thu, 22 Feb 2024 06:25:02 +0000 Original-Received: (at 69140) by debbugs.gnu.org; 22 Feb 2024 06:24:13 +0000 Original-Received: from localhost ([127.0.0.1]:54437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rd2VB-00035r-0w for submit@debbugs.gnu.org; Thu, 22 Feb 2024 01:24:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rd2V7-00035T-V1 for 69140@debbugs.gnu.org; Thu, 22 Feb 2024 01:24:11 -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 1rd2SX-0003rS-C3; Thu, 22 Feb 2024 01:21:29 -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=4ht2BGSaB8M88+SzsjBEnV0sqScN7bYQGcqLqLOoDbc=; b=gQjAEtHiWDqH maXPFmz9rpYqjByFGVuE8FuCAygMqdCYHSHqLmGFnj3ZE4ar/gIvsqP2tWct2BE6iZwVf0N8Po6QQ LMb4CyE8FF5kbbzIYW4CKliMmw7yoshtIceJpxePA3QYR5sqs4/aOGOdIwVSOj4ksI8N+sXq0hMmk U0rBN3pnZQShZDdoC3WZHD5thMw5pTuki78+MUUTXgIZi8SxUc9JZh0nPGRYoWUnCjVkIU/vnZAdx FohdjSYgb1fIMOA9UrU2FCkL19KY0QQi1QXCa4cQ7+VZY30iWqRgY418UyM7LdV3iGyLIiqePB+1b /wM3pUK//klybxLhV+9QyA==; In-Reply-To: <87r0h536v0.fsf@disroot.org> (message from Aleksandr Vityazev on Wed, 21 Feb 2024 23:22:27 +0300) 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:280430 Archived-At: > From: Aleksandr Vityazev > Cc: luangruo@yahoo.com, mail@daniel-mendler.de, 69140@debbugs.gnu.org > Date: Wed, 21 Feb 2024 23:22:27 +0300 > > On 2024-02-21 21:43, Eli Zaretskii wrote: > > > What you "eval-buffer", is the Emacs frame visible in its entirety on > > the screen, or are parts of it hidden because the font is too large? > > part of the mode-lane is hidden, but otherwise everything is visible This situation works well here, it doesn't hang. > > I tried different fonts and different sizes, and as long as I can see > > the frame on the screen, I don't see any hangs. Maybe this only > > happens with pathologically large fonts, with which only a small part > > of the frame can be seen, but if so, why is this situation > > interesting? > > > > with (set-face-attribute 'default nil :family "monospace" :height 440) > the result is the following: > > --8<---------------cut here---------------start------------->8--- > (list (window-height) (window-width)) => (13 53) > > C-u C-x = (what-cursor-position) => > > display: by this font (glyph code): > ftcrhb:- -Go Mono-regular-normal-normal-*-58-*-*-*-m-0-iso10646-1 (#x37) > --8<---------------cut here---------------end--------------->8--- > > I think this is still a reasonable size. I usually have my font height > set to 240, and recently I noticed that vertico was starting to lag at > this setting. Researching further, I found that the larger the font, the > more obvious the hang, and I also found the commit after which it all > started. I think that there is a bug here, but we need to investigate it > further and check it without pgtk on X. Could someone please reproduce and investigate? Po Lu, any suggestions or ideas?