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

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

Re: Edit huge files in Emacs.


From: Hongyi Zhao
Subject: Re: Edit huge files in Emacs.
Date: Tue, 29 Mar 2022 16:48:21 +0800

On Sun, Mar 27, 2022 at 9:51 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Sat, Mar 26, 2022 at 11:21 PM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > > Date: Sat, 26 Mar 2022 22:56:31 +0800
> > > Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> > >
> > > I tried to visit it in "emacs -Q". When I drag the scroll bar, Emacs
> > > stops responding. As shown in the attachment.
> >
> > That's a different file, not the one you originally pointed to.
>
> Strange, in this discussion, I always point to the same file [1] which
> is extracted from DASG-Machine-Readable.zip [2].
>
> > This one has some very long lines, which is known to slow down
> > redisplay in Emacs so my advice is to enable the so-long-minor-mode
> > after visiting it.
>
> Good. That solves the problem.

BTW, according to the guidance here [1], I also tried with the
following configuration in my `~/.emacs.d/init.el`, but it can't solve
the problem discussed here:

 (global-so-long-mode 1)


I am very confused about the difference between the
`so-long-minor-mode` and the `global-so-long-mode`.

[1] https://www.emacswiki.org/emacs/SoLong#h5o-6

Regards,
HZ



reply via email to

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