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: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled. Date: Sat, 07 May 2022 09:19:33 +0300 Message-ID: <83levdzwy2.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12192"; 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 May 07 08:20:49 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 1nnDo8-00030E-M7 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 08:20:48 +0200 Original-Received: from localhost ([::1]:41872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnDo7-00040h-BX for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 02:20:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnDnK-0003y5-Oa for help-gnu-emacs@gnu.org; Sat, 07 May 2022 02:19:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnDnK-0007WQ-CA for help-gnu-emacs@gnu.org; Sat, 07 May 2022 02:19:58 -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=bZY27ZdGsTZNhJ6kT0oXuwhf8AQhLVJRI1qjQV4hqB8=; b=gcqI7JxXhz2L dog82pjpu+ZGWfjQ2euwsyIWY8QLW+KLjNGJwLeCNilVZjNAmBrXUF14MgtVFjdyXJ7o6js2lqnsf Ofv99fJuAhblaewXL5C0iTfdwIV0fitrP8t4zGli9AFFmuoWq4UBDRdPH0xzo/YoJPSg9po2ogMyR hh3GZAYntfCu4IHtmAOmMavNJQukb+9Hk5sYAVHEWWUzIuaOrLcXX98nn7Zoq8AoZZeNa/JPLJAcP LkpOLv6tBfvdkSxyT1Dt2rcmz1AJ6Pn0zwpJo5T9tKe3TF5SVnDDj7KnKFWsdS9nDXGFVUZerbHAI TknQ3iXZK9v6gwPIPj8VwQ==; Original-Received: from [87.69.77.57] (port=4831 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 1nnDn4-0001Nz-Sx for help-gnu-emacs@gnu.org; Sat, 07 May 2022 02:19:55 -0400 In-Reply-To: (message from Hongyi Zhao on Sat, 7 May 2022 07:45:10 +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:137170 Archived-At: > From: Hongyi Zhao > Date: Sat, 7 May 2022 07:45:10 +0800 > > I try to use Emacs to open and check the file [1], which includes one > extremely long line as follows: > > > $ emacs -Q symbols.ts > > `M-x so-long-minor-mode RET` > > At this moment, Emacs still freezes. Any hints for tackling this problem? It doesn't exactly freeze here, it just becomes sluggish: each cursor movement command sometimes takes several seconds to complete. Whether there's anything to do here depends on what you want to do with this file; "check" doesn't really explain that.