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: Hongyi Zhao
Subject: Re: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled.
Date: Sun, 8 May 2022 11:58:01 +0800

On Sun, May 8, 2022 at 11:32 AM Michael Heerdegen
<michael_heerdegen@web.de> wrote:
>
> 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.

What do you mean by saying this?

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

Still frozen. For details, see the attachment.

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

Attachment: image.png
Description: PNG image

Attachment: image.png
Description: PNG image


reply via email to

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