On Tue, Jun 28, 2022 at 7:13 PM Eli Zaretskii wrote: > > [Why personal email?] By accident, I didn't notice this :-( > > From: Hongyi Zhao > > Date: Tue, 28 Jun 2022 12:26:22 +0800 > > > > > That's too old. You need a very recent version, and then set the > > > variable max-redisplay-ticks to something like 250,000. > > > > I recompiled the latest master version of Emacs, but the problem > > remains. Below the testing steps: > > > > > > $ emacs -Q > > `M-x emacs-version RET` > > GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, > > cairo version 1.16.0) of 2022-06-28 > > > > In scratch buffer, `C-x C-e` the following setting: > > > > (setq max-redisplay-ticks 3000000000000000) > > > > `C-x C-f` to open the file discussed here. If I drag the scroll bar on > > the right side of the window with the mouse, Emacs will lose response, > > as shown in the attached file. > > Why did you set the variable to such a large value? That effectively > disables the feature. I told you what value I recommend; why didn't > you use that? What were you trying to accomplish by using the value > 3000000000000000? It's picked from the following relevant discussion: https://mail.gnu.org/archive/html/bug-gnu-emacs/2022-06/msg01690.html Anyway, I tried with your suggested configuration: (setq max-redisplay-ticks 250000) But the problem remains, as shown in the attached file. Best, Hongsheng