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 15:15:23 +0300 Message-ID: <83v8uhy1wk.fsf@gnu.org> References: <83levdzwy2.fsf@gnu.org> <83fsllzumm.fsf@gnu.org> <83a6btzt2a.fsf@gnu.org> <875ymhbmis.fsf@t14.reltub.ca> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15564"; 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 14:16:21 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 1nnJMD-0003sd-C1 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 14:16:21 +0200 Original-Received: from localhost ([::1]:47506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnJMC-0007bQ-1E for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 08:16:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnJLc-0007bC-3d for help-gnu-emacs@gnu.org; Sat, 07 May 2022 08:15:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnJLb-0001YE-QH for help-gnu-emacs@gnu.org; Sat, 07 May 2022 08:15:43 -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=F5pGjWXwTvye9Ug3mS1eFFIvlPxecLmw+70MeyiP9Jg=; b=A14iBX9WT1bq vU5eswFSIJco4fPbIzgIwBd7TSwCwSrQZ/xjhBnmLkj+uONZ9Hraf0h6YrO0IQgaGKCERuKk4a5xm YkvCrrq5KSLXiDL0tbknfHjTt8KMgGqYspBRjwXGEEWOpNeYIQA9N/a6t17ARzbcdKVXUWVPqd0MK 7PYfz7rNQrR1TJMimw5xeqfLar/qMsdCL92UDJi6GsTnBK6H0GT2Dnc6AzLTBIdN8oP0ymIfUCMAP 8qu6//N+gr/NlzLCxt7yzy2pWOwnW6mLwmgwHWyYLprrUSJT+PxkWDRQXtVWdp3n7gxA/x3etzflV ynQGzIALdi+Pp8CmSyjOFQ==; Original-Received: from [87.69.77.57] (port=3340 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 1nnJLR-0005a3-4V for help-gnu-emacs@gnu.org; Sat, 07 May 2022 08:15:43 -0400 In-Reply-To: <875ymhbmis.fsf@t14.reltub.ca> (message from Leo Butler on Sat, 7 May 2022 11:38:36 +0000) 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:137179 Archived-At: > From: Leo Butler > CC: "help-gnu-emacs@gnu.org" > Date: Sat, 7 May 2022 11:38:36 +0000 > > On Sat, May 07 2022, Eli Zaretskii wrote: > > >> BTW, I opened it in vscode. The experience is very smooth and there > >> are no such problems. > > > > Then you should post this to the VSCode forum instead. > > Eli (and Emmanuel), your answers are *unsatisfactory*. I didn't answer any questions in what I wrote above, so I don't think I understand what you are alluding to here. > The bug Hongyi is reporting has afflicted emacs as long as I can > remember (15-20 years). It has nothing to do with vscode per se: to > confirm, I opened my .newsrc.eld file, generated by > gnus. Incremental search caused emacs to crash. > > Are your answers to this problem: don't use gnus, it makes no sense; or, > use vi? If some command crashes Emacs, please submit a bug report using "M-x report-emacs-bug RET", per the documentation. The OP described slow responses, not a crash. The problem with extremely slow redisplay when lines are long is well known, and patches to fix it are welcome, if someone knows how to do that. Over the years, I had my share of fixes in that area, which improved things, but evidently not enough.