From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Edit huge files in Emacs. Date: Sat, 26 Mar 2022 17:44:08 +0300 Message-ID: <83y20wai4n.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31860"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 26 15:44:43 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nY7ek-000885-L4 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 15:44:42 +0100 Original-Received: from localhost ([::1]:47712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY7ej-0002rR-9D for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 10:44:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY7eH-0002rF-0P for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 10:44:13 -0400 Original-Received: from [2001:470:142:3::e] (port=56924 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY7eF-0008MT-1y for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 10:44:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jqZavPFAmV3bY/QbYqUHoDscL+FvN1kUI8uXkG9eTs0=; b=f0CCfAd5q2NY unQiH9kGIisaJVDROerTVG/yjzGic+4NR/QVYKXWbuTqv3dr9EBs89KW/xCfu8hTSpAdVtf6kwC29 y3HGijf/HrpQCUbfHA28a9yrCnA8KkWDVZY7u9EHqcEeeBpYW9vGGpmS/58lXewz6uyvxGFuuwrL4 jtgbRpxJq1aVmEBExk2Mx+hD3AceUiVDbn7/TCdScmWUHMjSU7EoMaofKo3mjW8bV8tujNR4inAYs ZnjF2ZJ72zKg4QGNeC3ZliBJjsstHy3xXmI8mQCsPtS1gGtOReRX0l8mUB6ti0xGKZzkkMvvaP705 CEgy6A072nqhwJfyJftJUQ==; Original-Received: from [87.69.77.57] (port=1712 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY7eC-0004Ug-VP for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 10:44:10 -0400 In-Reply-To: (message from Hongyi Zhao on Sat, 26 Mar 2022 22:19:16 +0800) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136769 Archived-At: > From: Hongyi Zhao > 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.