From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aleksandr Vityazev via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big Date: Wed, 21 Feb 2024 23:22:27 +0300 Message-ID: <87r0h536v0.fsf@disroot.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> Reply-To: Aleksandr Vityazev Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29150"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, mail@daniel-mendler.de, 69140@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 21 21:22:58 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 1rct7J-0007FT-V0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Feb 2024 21:22:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rct75-0004M3-U4; Wed, 21 Feb 2024 15:22:43 -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 1rct73-0004Kv-Aa for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 15:22:41 -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 1rct72-0007cQ-9l for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 15:22:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rct7O-0005qB-Ns for bug-gnu-emacs@gnu.org; Wed, 21 Feb 2024 15:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Feb 2024 20:23: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.170854697922438 (code B ref 69140); Wed, 21 Feb 2024 20:23:02 +0000 Original-Received: (at 69140) by debbugs.gnu.org; 21 Feb 2024 20:22:59 +0000 Original-Received: from localhost ([127.0.0.1]:39241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rct7K-0005pn-9H for submit@debbugs.gnu.org; Wed, 21 Feb 2024 15:22:59 -0500 Original-Received: from layka.disroot.org ([178.21.23.139]:52436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rct7H-0005pZ-9H for 69140@debbugs.gnu.org; Wed, 21 Feb 2024 15:22:56 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1E98044DAC; Wed, 21 Feb 2024 21:22:31 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LA2NVtgkBAf6; Wed, 21 Feb 2024 21:22:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1708546950; bh=WIpAfWNOrHUpjAkEHKDg4K//3Q1LekH8aqmrv+2MQSU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=SfDenE1wPLHQWw2k3BVCyL3pY1kJvPoWJlK2Xbd40SQBLluiWEUurpIkZ10l8mG2L 0gwEi2kkVrQKlQafeU/wSMKI30AEiv8Sa8HfZ/GzwaaNxQVlYwajOaMlj6LAcVuYCe 1T0NkH52XPcRdKQ+5iyHDvJLHXtGaSCIJF6UDKjaE/4iwMSbWwrqNbhDkASNu5G12Z frRYrAfR+/+D7dhsE6iHx4X3jZdZl+Na4/J0fbOsKs3UOevy6J1rwRANFfpLHZHlfJ oryIRormVZu0NRKNAWK2m0HLdiv8nkKHvZwEj9wAEQmc407qO0WRRIGD0Wm8TvVg9B fnNo0bayswqOw== In-Reply-To: <86edd5mwms.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 21 Feb 2024 21:43:07 +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:280418 Archived-At: On 2024-02-21 21:43, Eli Zaretskii wrote: >> From: Aleksandr Vityazev >> Cc: luangruo@yahoo.com, mail@daniel-mendler.de, 69140@debbugs.gnu.org >> Date: Wed, 21 Feb 2024 20:47:22 +0300 >> >> > I run test-dispatch, for example I press "r", which calls the >> > minibuffer. At this point, Emacs is already starting to freeze for me; if >> > I change the full-screen to windowed mode several times, everything gets >> > worse. If nothing happens after pressing "r" you can try other bound >> > letters. >> >> You could also try enlarging the font > > 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 > 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. -- Best regards, Aleksandr Vityazev