[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: |
Sat, 26 Mar 2022 22:56:31 +0800 |
On Sat, Mar 26, 2022 at 10:44 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > Date: Sat, 26 Mar 2022 22:19:16 +0800
> >
> > I downloaded the file DASGMachineReadable.txt [1] from its official
> > website [2-3].
> > This file is very large, as shown below:
> >
> > $ du -h DASGMachineReadable.txt
> > 28M DASGMachineReadable.txt
> >
> > $ wc DASGMachineReadable.txt
> > 306319 12775096 28535028 DASGMachineReadable.txt
>
> 28MB is a far cry from "very large".
>
> > When I try to open and edit the file using Emacs, Emacs gets stuck and
> > basically doesn't work.
>
> I cannot reproduce this. I see no problem whatsoever with this file,
> using Emacs 28. It seems to be an HTML file, but I don't see any
> problems even if I turn on html-mode.
>
> > Any suggestions for solving this problem?
>
> Try visiting it in "emacs -Q". If the problem disappears, look for
> some customization(s) of your that make visiting this file so painful.
I tried to visit it in "emacs -Q". When I drag the scroll bar, Emacs
stops responding. As shown in the attachment.
Selection_050.png
Description: PNG image