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: Sun, 08 May 2022 08:31:36 +0300 Message-ID: <83wnewwpxj.fsf@gnu.org> References: <87k0aw6hne.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38852"; 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 Sun May 08 07:32:39 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 1nnZX5-0009yn-Ic for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 07:32:39 +0200 Original-Received: from localhost ([::1]:39066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnZX4-0004ii-GH for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 01:32:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZWI-0004gf-Ew for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:31:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZWI-0000VA-6e for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:31:50 -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=NYkf0K6vu5sJ7yPPQYxqr0b9c5j2VAwdWabMYS2YDLU=; b=XmSXGsI4oIK3 xs14vkah8nUvxubImbhGWz6MhUC22r9hqBAKLavMD9VNi/fhG1Kgs5DHcztf9Nbe74FbderYI2ni3 f+i/YOVtj0Q6iIa502AdUgxsqVP6M4yt5fqg/Eklse3zxJxfcV9aFSGuKteIX82mYx+dd31Nb70m1 YjJHdZeBRSl0ToKGQcbJwc6vNYCMl+Ea0pBQLW55ezXlA8d8aaoAYl1rfl78XJr5oCyf3awIC1/iT 1AdfEHMG+lYTdXfCSLEPvhVmuRtKhX3Ef1Y2Ns+MR+qtAHmU9OMn13j1L64Pm5SrYkzR+Pte4Q5Z1 kotlD01yDlXnpKcBpMfcxA==; Original-Received: from [87.69.77.57] (port=3926 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 1nnZWA-0005VL-KH for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:31:47 -0400 In-Reply-To: (message from Hongyi Zhao on Sun, 8 May 2022 08:10:25 +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:137193 Archived-At: > From: Hongyi Zhao > Date: Sun, 8 May 2022 08:10:25 +0800 > Cc: help-gnu-emacs > > > > `M-x so-long-minor-mode RET` > > > > > > At this moment, Emacs still freezes. Any hints for tackling this > > > problem? > > > > M-x global-so-long-mode helps. Emacs opens the file in fundamental > > mode anyway, so maybe `so-long-mode' as major mode is acceptable. > > I've already enabled both modes, but the problem remains, as shown in > the attached file. Did you try setting line-move-visual to nil, in addition to the other measures?