all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Edit huge files in Emacs.
Date: Sat, 26 Mar 2022 22:56:31 +0800	[thread overview]
Message-ID: <CAGP6POKShxoqedDXxeVYhY-pKGLLCWyaBekcioOe8x1eXoyfjQ@mail.gmail.com> (raw)
In-Reply-To: <83y20wai4n.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

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.

[-- Attachment #2: Selection_050.png --]
[-- Type: image/png, Size: 81502 bytes --]

  reply	other threads:[~2022-03-26 14:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26 14:19 Edit huge files in Emacs Hongyi Zhao
2022-03-26 14:44 ` Eli Zaretskii
2022-03-26 14:56   ` Hongyi Zhao [this message]
2022-03-26 15:20     ` Eli Zaretskii
2022-03-27  1:51       ` Hongyi Zhao
2022-03-29  8:48         ` Hongyi Zhao
2022-03-29  9:01           ` Hongyi Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGP6POKShxoqedDXxeVYhY-pKGLLCWyaBekcioOe8x1eXoyfjQ@mail.gmail.com \
    --to=hongyi.zhao@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.