all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Edit huge files in Emacs.
Date: Sat, 26 Mar 2022 17:44:08 +0300	[thread overview]
Message-ID: <83y20wai4n.fsf@gnu.org> (raw)
In-Reply-To: <CAGP6PO+pYFa=kF3-WTag+m9SWk7rdhrgkTe76Uz1g_Nz9GsyvA@mail.gmail.com> (message from Hongyi Zhao on Sat, 26 Mar 2022 22:19:16 +0800)

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



  reply	other threads:[~2022-03-26 14:44 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 [this message]
2022-03-26 14:56   ` Hongyi Zhao
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=83y20wai4n.fsf@gnu.org \
    --to=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.