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 12:18:43 +0800

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

`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 2021-11-14

>
> Michael.

HZ



reply via email to

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