Subject: bug#69140: closed (Re: bug#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 23 Feb 2024 18:26:03 +0000

Your bug report

#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
69140: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69140
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#69140: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big
From: Eli Zaretskii <[email-masked]>
To: Aleksandr Vityazev <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Fri, 23 Feb 2024 19:59:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Aleksandr Vityazev <[email-masked]>
> Cc: [email-masked],  Eli Zaretskii <[email-masked]>,
>   [email-masked]
> Date: Fri, 23 Feb 2024 20:12:12 +0300
> 
> On 2024-02-23 10:19, Po Lu wrote:
> 
> > Should be fixed now, thanks.
> 
> Thanks for the fix, I tested it and it works fine for me.

Thanks for testing, I'm therefore closing this bug.

Subject: 30.0.50; [elpa/vertico] Emacs with vertico-mode freezes if font is too big
From: Aleksandr Vityazev <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 15 Feb 2024 14:23:28 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Vertico version 1.7, version 1.3 has also been tested, is incompatible
with the changes made by the commit -
caea0c1649d1df96b811c1388fde396e66bc356b. This commit was found via
git bisect.

To reproduce:
1. Run emacs -Q
2. M-x load-library vertico RET
3. M-x vertico-mode RET
4. Set a large font, the following is suitable for my 13 inch monitor:
(set-face-attribute 'default nil :family "monospace" :height 440)
5. Call M-x
Emacs should freeze, sometimes you can unfreeze it with a few presses
of C-g

profiler-report below:

#+begin_example
5555  81% - command-execute
5555  81%  - call-interactively
5555  81%   - byte-code
5555  81%    - read-extended-command
5555  81%     - read-extended-command-1
5555  81%      - completing-read
5555  81%       - completing-read-default
5555  81%        - apply
5555  81%         - vertico--advice
5555  81%          - apply
5555  81%           - #<compiled -0x109324e03480587c>
5555  81%            - read-from-minibuffer
2795  40%             - redisplay_internal (C function)
  76   1%              + window--resize-root-window-vertically
  50   0%              + eval
  12   0%              + file-remote-p
  12   0%              + mode-line-default-help-echo
2520  36%             - minibuffer-error-function
2520  36%              - minibuffer-message
2520  36%               - sit-for
2516  36%                - redisplay
2516  36%                 - redisplay_internal (C function)
  72   1%                  - window--resize-root-window-vertically
  56   0%                   + window-sizable
   8   0%                   + walk-window-tree
   4   0%                   + window--resize-this-window
  68   0%                  + eval
  32   0%                  + mode-line-default-help-echo
  20   0%                  + file-remote-p
   4   0%                  input-pending-p
 135   1%             + vertico--exhibit
1104  16%   Automatic GC
 180   2% + redisplay_internal (C function)
   8   0% + timer-event-handler
   0   0%   ...
#+end_example

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.37, cairo version 1.16.0)
System Description: Guix System

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 SHELL=/gnu/store/v9p25q9l5nnaixkhpap5rnymmwbhf9rp-bash-minimal-5.1.16/bin/bash
 --prefix=/gnu/store/f9faac619qdhgybd0ddfvwdazcvv41qq-emacs-rrr-next-30.0.50-49.3a93e30
 --enable-fast-install --with-pgtk --without-libsystemd
 --with-tree-sitter --with-native-compilation --with-cairo
 --with-modules --with-native-compilation=aot --disable-build-details'

-- 
Best regards,
Aleksandr Vityazev