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: Wed, 11 May 2022 14:27:00 +0300 Message-ID: <838rr8s41n.fsf@gnu.org> References: <87k0aw6hne.fsf@web.de> <83wnewwpxj.fsf@gnu.org> <83r154woxh.fsf@gnu.org> <878rr8h92g.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25613"; 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 Wed May 11 13:29:44 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 1nokXG-0006R4-8C for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 13:29:44 +0200 Original-Received: from localhost ([::1]:57230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nokXF-0005of-5o for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 07:29:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokUi-0005mQ-Dr for help-gnu-emacs@gnu.org; Wed, 11 May 2022 07:27:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokUh-0006JU-Aq for help-gnu-emacs@gnu.org; Wed, 11 May 2022 07:27:03 -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=2oJ9s4tWbdk4941z+6XzltcU7Ph84x3Kroy7d3akkJg=; b=cgeckkWgOHOX nHw4SneeXoqoTR45ch+W9cICJ4Rdi2Y1S7/CK1YhNf8eNi1IbvGhhtxEZasrP6Lf7Ee0EJ2qbs6H3 nzRCTmv70kOdw8ZTHGoGyZp7xhqkTJrgPt0U9tDrJQIrU9sK57vBz61BmW/HAAzvxVpLt5wuBIX6F AQNjVoGrjyAkceBSQDUor4klPNna0AZg2J9rCDjIfKzHywQ2ew2bJvIEJsX9vzBCOLIb5IaKNDjX+ sZdgFO/AjSGkjNKVogDEziauj1g2phi+uO20QB3/vswO+2qOn2uZeTe8q0VYNHg0MBIh2SQgA0nSS ZVkqcjppJacJANL0SSzl6g==; Original-Received: from [87.69.77.57] (port=1664 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 1nokUc-0002ie-LI for help-gnu-emacs@gnu.org; Wed, 11 May 2022 07:26:59 -0400 In-Reply-To: <878rr8h92g.fsf@web.de> (message from Michael Heerdegen on Wed, 11 May 2022 08:33:59 +0200) 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:137221 Archived-At: > From: Michael Heerdegen > Cc: help-gnu-emacs@gnu.org > Date: Wed, 11 May 2022 08:33:59 +0200 > > Eli Zaretskii writes: > > > 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 > > Is the "<--" marked step intended? - that makes Emacs show the huge file > in only one visual line? Yes, it's intended: it makes Emacs more responsive here (for cursor motion commands). And of course, not every such file has just one long line. > moving the scroll-bar makes Emacs unresponsive for a very long time (I > waited for 20 seconds then tried to abort with C-g. I think I see why, and will try to look into that. > Unless we still didn't try correctly what you suggested, or we have > found a very untypical case, the second thing I want to say is that it > looks like it could have been a mistake to obsolete longlines. Even if > Emacs can now better handle files with long lines, I have the impression > that we can still not offer the same user experience longlines offers. Feel free to suggest that, just not here.