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

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

Re: Emacs freezes when editing a file with one extremely long line even


From: Michael Heerdegen
Subject: Re: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled.
Date: Sun, 08 May 2022 06:11:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> > > $ emacs -Q
> > > /home/werner/Public/repo/github.com/feisele/vscode-gap-language-support.git/src/symbols.ts
> > > `M-x global-so-long-mode RET`
> >
> > This can't work, the file is already opened then.
>
> What do you mean by saying this?

global-so-long-mode has only an affect for files opened later, not files
that are already opened.

> > The major mode works better for that file: M-x so-long-mode RET.
>
> Still frozen. For details, see the attachment.

Hmm, strange.  I tested in Emacs 27.1 from Debian and recent built of
master, and with so-long-mode explicitly enabled performance is very far
from a freeze.

What's your Emacs version?

Michael.




reply via email to

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