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 again when I try to open a file including only one very long line. Date: Mon, 27 Jun 2022 14:02:25 +0300 Message-ID: <83mtdy8j3y.fsf@gnu.org> References: <83o7ye96u7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14015"; 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 Mon Jun 27 13:03:40 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 1o5mWp-0003RZ-Nx for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 13:03:39 +0200 Original-Received: from localhost ([::1]:44378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5mWo-00056S-Gf for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 07:03:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5mVe-00055x-J8 for help-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:02:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5mVe-0003oT-Ba for help-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:02:26 -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=waJBGCsi7xSHegNsX1D3eyL0G3CjWMjO8mMP58AU884=; b=dt9rqjWTEZTa spMUfdkHDR03+uOAeo3hgpJbWgagWhzZgE7gLd2v81IckaTaS2rxRVKGhil/8UAM5wV4LIJRRMujU WBqcq5pdRlKiBbHnG15PHvaxmsxomKZVnHPpCyBrVbLh5QwVpYC7pB0SXRi6DpDzJBKf8raLAl9QI pZliDCuN+I9e4DBQJL4SIzzPH2neEkJNX4SVeNzZdMVaZCzD42QHsqNDVd767zivD1LLAkU4TGO8K ohCjyeUsrM3IaXE739Kc0scwwp6/XJ/eqTREPTQZUe2IZe+iDDjoAop+LP2fBG3U6d6oc2fMC9gzL ABUzLlNXc//0QItVYIFxYQ==; Original-Received: from [87.69.77.57] (port=2299 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 1o5mVc-0004Jb-Gq for help-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:02:25 -0400 In-Reply-To: (message from Hongyi Zhao on Mon, 27 Jun 2022 10:36:55 +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:138124 Archived-At: > From: Hongyi Zhao > Date: Mon, 27 Jun 2022 10:36:55 +0800 > Cc: help-gnu-emacs > > On Mon, Jun 27, 2022 at 10:30 AM Eli Zaretskii wrote: > > > > > From: Hongyi Zhao > > > Date: Mon, 27 Jun 2022 08:51:23 +0800 > > > > > > When I try to open the following file in Emacs, it freezes: > > > > > > $ wc __tmp.symbols > > > 0 1 896217 __tmp.symbols > > > > > > The file mentioned above has been attached. Any hints for fixing this problem? > > > > Upgrade to Emacs 29? > > My version of Emacs: > > `M-x emacs-version RET` > GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, > cairo version 1.16.0) of 2021-11-14 That's too old. You need a very recent version, and then set the variable max-redisplay-ticks to something like 250,000.