From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao 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 19:22:00 +0800 Message-ID: References: <83o7ye96u7.fsf@gnu.org> <83mtdy8j3y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32753"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 27 13:22:57 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 1o5mpV-0008QC-FD for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 13:22:57 +0200 Original-Received: from localhost ([::1]:52746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5mpU-00055V-AU for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 27 Jun 2022 07:22:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5mor-00053r-KV for help-gnu-emacs@gnu.org; Mon, 27 Jun 2022 07:22:17 -0400 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:40819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5mop-0008J2-KR; Mon, 27 Jun 2022 07:22:17 -0400 Original-Received: by mail-ej1-x62b.google.com with SMTP id ge10so18433616ejb.7; Mon, 27 Jun 2022 04:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pYBpIbpSt4Hy7Tr/08cL4buMMM3AsWtR2/gMIcfaY9M=; b=hgz8v+bNl/VDnEektmzcJiNVumnufcwYycVyKewEHoH9JtCGBorGpXJGAk43Ad5/BE 5mEkzsZSJi/N50BV0c5Gt4MUnuLFOvNrw0DF93KByAw8ihFTMx72lmlQEB1nBYtSy/cL UdMXJz50QZJ6PwVmICdhajAI/fel5EM4McisFuPQGRluINFGP4GivJEpsdtJQtokBw7s lnRiClNGri80x9TK9OVaG9SzR4x2yJh5lEJ6DtKvPdPVd9z/CeeJB08PuvXlS1QP+rKa qgSSrVHRQ3VmTZ9Hx9tpr+PgvrY/la+QeeDtWAKED9l2BrNBZlcPR2UJX8VHK2Zylc2O SDEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pYBpIbpSt4Hy7Tr/08cL4buMMM3AsWtR2/gMIcfaY9M=; b=ttSeqxu9qxATT8py5nDPlK0QHG3KoojyJo3cfhWgHHLbEl56It3t0K/moiWdKuMd39 qP53ZhQhyzKfypp27T35HY+3v9M0MDPb6RwhvvSxNQ8f8d1uPoihAMrhEn+nKaHidlIr MVs7EBtwjHS/3PmXhcs3r6bt+OuAWDsh2FTeMnA9TuIyi9rAs3KR4skqgYkgyjmW1696 KlcbEiQOoQlBt3W+knnEE07Cd0iPRbVq2VXGeCvPioqYeB/WP5etB1C54+h4qD6qC2wA PgCZNG6eo88IU7QC3YCMy9ME0J6s5Fz12vYK5i9kZ/CKMlh408H0PPrjYIKqaBk8tMJ8 GdTA== X-Gm-Message-State: AJIora9t/kVuN1WT75IE0oax2Iw7nKLf7RGKkIjwx1GPkdM8eGH6kAnX YcrdycbDCqONtFeV8xxcF+p/sXyKkoLtnFy/2wAF7j41XhImCA== X-Google-Smtp-Source: AGRyM1uLMo+iNAp7glUmWy+Oyc6rXzEUHP3v6RKr0htiGeWblToe5hbtJwvuESyjurbixLAa8kMSpLQ8HjEALG/IHqU= X-Received: by 2002:a17:906:5344:b0:711:f8fa:f16a with SMTP id j4-20020a170906534400b00711f8faf16amr12558562ejo.638.1656328932466; Mon, 27 Jun 2022 04:22:12 -0700 (PDT) In-Reply-To: <83mtdy8j3y.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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:138125 Archived-At: On Mon, Jun 27, 2022 at 7:02 PM Eli Zaretskii wrote: > > > 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. Thank you for your tip. I will try it when I have time. Regards, Hongsheng