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 05:31:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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

> I mean, both of the following methods will freeze Emacs, as shown in
> the attached files:

> $ 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.

> $ emacs -Q
> /home/werner/Public/repo/github.com/feisele/vscode-gap-language-support.git/src/symbols.ts
> `M-x so-long-minor-mode RET`

The major mode works better for that file: M-x so-long-mode RET.

I can't say much about the background, I never checked the
implementation of those modes.

Michael.




reply via email to

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