help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs freezes again when I try to open a file including only one ver


From: Hongyi Zhao
Subject: Re: Emacs freezes again when I try to open a file including only one very long line.
Date: Tue, 28 Jun 2022 20:56:56 +0800

On Tue, Jun 28, 2022 at 7:13 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> [Why personal email?]

By accident, I didn't notice this :-(

> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > 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

Attachment: image.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]