From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen 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 08:33:59 +0200 Message-ID: <878rr8h92g.fsf@web.de> References: <87k0aw6hne.fsf@web.de> <83wnewwpxj.fsf@gnu.org> <83r154woxh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 11 08:53:16 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 1nogDk-0007xq-0z for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 08:53:16 +0200 Original-Received: from localhost ([::1]:36512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nogDi-0004GK-S7 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 02:53:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nofvA-0005WW-HV for help-gnu-emacs@gnu.org; Wed, 11 May 2022 02:34:13 -0400 Original-Received: from mout.web.de ([212.227.15.4]:50363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nofv8-0005Wl-Nt; Wed, 11 May 2022 02:34:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1652250840; bh=7e5RyH5knObs37i7ljjLbje3xVIH52B++N342FNXHyE=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=rJ6sl5Dz7JvfZniC3nxb5kPU6cP2dS1NkBvQrApeoPDk2PYj4XCQEsy9QJ5iczEjK HFAxi6i/vgxeSmrM9wtNwWWCA7TYg0zWBCfJfOgj2bB/0Bg9iTxUX3I+c0Rajwer8r vnqabfTgAQL1E8uno4xLtInrQTE47oZ0N5+BaiwE= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([178.6.28.204]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1My6pf-1o00070OMh-00zIA6; Wed, 11 May 2022 08:34:00 +0200 In-Reply-To: <83r154woxh.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 08 May 2022 08:53:14 +0300") X-Provags-ID: V03:K1:73Aj/JgORoXbbZHSrl1u07nz/cLWB8Ng+nRt789TwTCKf6FpsfB e85OZ0f9AuCP+qqC4gabJ7NjsGsj8NsjEG4JSXqvDY+U8Hb9fN1/xSoT1L6d9vNpRZCz3Y3 +2Qd94Hjg19PalHfQGMdNIavB8R+HJJu3V3dziv5XM1GcSegLX/zHQf8OEZKvJWR6hHW2Gt T4aVIf4DQQmv7n7rLhW8g== X-UI-Out-Filterresults: notjunk:1;V03:K0:0pV8Vq5yGLQ=:fYh6VoTbCrF5Bj5lF5xnBH zOSVKEyo7m7anbES29fcR0222L2GUnGfUHc7+FgvqA+xkiwCwJUk6H8SqYg6rCgacuegsw9vy nQe1m7qvSaHMSGhoSt767vrI5JX0s+MEm8NoMzkgPFgSyltHAxDoRbLtDA+3QTeHVZtnEY3Sp oi13n8yB7uMWqE72G7zgUqczoqxT+/ujFN5uVT4R16O9ZfgS5cuG6bpYABRjTUlVdjywT/36A 10q+t99VFOyNi3Fzxw6v6BxQSZH4ICyDxuSameZeTisgThW7usxZbar5dJuhQdLIcyuTC2UR2 rYLqVQsHCHkRzxrJJyOqaEp9NrhqTdYH/aWydQJ6NNuB2smM+XVhXLObcWUV/77Dyew6ONIDD 5v1bu788rCUpoMrUBCW3HfW0O3uF1Su5iq0rHoY+bA4rfiQfJ8qUmcvRj3lrPGDim8dn7OnUJ TVcR5dDOOQlbC3QXuTCaPn+mmZEFOdT7fpvHnz/E7kuSm8MQkv1W07fm+rWuSSvWYyAybqDsZ hLVz63xjAO7hRJ5h/EyBtS3ZSAqIXZUDW5E2JKRuiycDxi1Ys/3i9fUzLhjUCrY284nCnj0hL adonxJPbV1MZhwylh09v7Vcwtke8PBfn9NQjAM6R9l07eVXCQGFPj7eGlUpmih86rpl50QlB3 OWguL5/1i+/K2B1o1p91nFO4kV36aa1Sy1EbDer7migViS4U12vLvt2mh1Q/3qYYZrg81sT/w jOERtXFrgAX1kom0mgB2gLI35rF7nGHP1LivWIV9N7qMruJpufcxqTJZeuo1nitUk8RFO4RW Received-SPF: pass client-ip=212.227.15.4; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:137219 Archived-At: 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? I left it out for now and tested with the rest. Moving around in the buffer is not smooth but works more or less ok, isearch also. But moving the scroll-bar makes Emacs unresponsive for a very long time (I waited for 20 seconds then tried to abort with C-g. One very annoying problem in these cases is that C-g doesn't help you.) 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. Michael.