Subject: bug#69246: 30.0.50; persistent key input delay after using vc commands in pgtk

From: Eli Zaretskii <[email-masked]>
Date: Sun, 18 Feb 2024 21:04:42 +0200

> Date: Sat, 17 Feb 2024 20:38:06 +0000
> From:  Nick OBrien via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> After opening a file in a git repository with emacs -Q, using vc-annotate, and
> returning to the file, various key inputs like C-f, C-b, and typing characters
> have a noticeable delay between key down and screen update. I am using GNOME
> 45.3 and Wayland.

Did you let vc-annotate enough time to finish, or was it still running
(with "waiting..." shown in the mode line) when you saw those delays?

vc-annotate runs asynchronously, so you cane switch to another buffer,
while the command still runs, and can sometimes slow down the
foreground command.