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:53:14 +0300 Message-ID: <83r154woxh.fsf@gnu.org> References: <87k0aw6hne.fsf@web.de> <83wnewwpxj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14575"; 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:54:22 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 1nnZs6-0003cy-BU for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 07:54:22 +0200 Original-Received: from localhost ([::1]:46776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnZs4-0002dr-V3 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 01:54:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZr8-0002cz-1Z for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:53:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZr6-0003Mk-TU for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:53:21 -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=exNFbAEyb9245eQDSY4PWLdl23lHeinu4xoVzmOfzLk=; b=NIjQbAR1nhDK D7JaSXvSncq9c0TxCtYxAD8BNARXqRu1Lx0JOxjdcicmQlSXGr7cfZrrT8eFQjJTfT4svBFDKpyXc thN2uXOmJzBgSrRn/elp0ei/PN5puxX5fIATzMPvbZUk7Qwr7YEaF+LCiae5YKgNkQWcnUpDH2HmA Yhrk3oVGZ/f2xvlMcsmmeLn6dgHB8NtW63P6iHX4wcbzpcWzVeKgF/iqDk1U7cgqa/fT0iVre6PpL bkgTC/k3poN/tDx/gaWyFxGZ2MdAve9Fo0Q+YmLqm5rRrzgErAeHUj5G9Ooo80V2SMAMWRKUate9N sudJUaiBxca8P4x+AEgHqw==; Original-Received: from [87.69.77.57] (port=1286 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 1nnZr6-0007QG-Dq for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:53:20 -0400 In-Reply-To: (message from Hongyi Zhao on Sun, 8 May 2022 13:38:08 +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:137197 Archived-At: > From: Hongyi Zhao > Date: Sun, 8 May 2022 13:38:08 +0800 > Cc: help-gnu-emacs > > On Sun, May 8, 2022 at 1:32 PM Eli Zaretskii wrote: > > > > Did you try setting line-move-visual to nil, in addition to the other > > measures? > > > > Tried the following, but doesn't work: > > `M-: (setq line-move-visual nil) RET' > `M-x so-long-mode RET' That's not what I suggested. I suggested this: C-x C-f symbols.ts RET M-x so-long-minor-mode RET M-x toggle-truncate-lines RET M-x set-variable RET line-move-visual RET nil RET And please provide more quantitative description of the effect of the above settings on Emacs responsiveness. "Doesn't work" has very low informational value. Do you see any effect on cursor motion? does it get faster? a little bit faster? not faster at all? slower? something else? If the above settings don't help to make Emacs even a bit faster, please describe what exactly are you doing to get Emacs to freeze: are you moving in that file (and if so, with which commands or keys), are you editing the file (and if so, with which commands), are you doing something else? Because I cannot understand how it is possible that the above settings have no effect whatsoever on the Emacs responsiveness, and your responses until now were not detailed enough to figure that out.