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: Wed, 29 Jun 2022 19:03:53 +0300 Message-ID: <831qv778ye.fsf@gnu.org> References: <83o7ye96u7.fsf@gnu.org> <83mtdy8j3y.fsf@gnu.org> <83tu856ny2.fsf@gnu.org> <83leth6iga.fsf@gnu.org> <83k0907ty3.fsf@gnu.org> <83h7447pjc.fsf@gnu.org> <83a69w6vsd.fsf@gnu.org> <838rpf7m9t.fsf@gnu.org> <834k037lac.fsf@gnu.org> <8335fn7e64.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13543"; 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 Jun 29 18:08:33 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 1o6aEz-0003KD-Dp for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 18:08:33 +0200 Original-Received: from localhost ([::1]:40110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6aEy-0003Wd-8q for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 12:08:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6aAN-0006Xp-UB for help-gnu-emacs@gnu.org; Wed, 29 Jun 2022 12:03:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6aAN-0006uN-LU for help-gnu-emacs@gnu.org; Wed, 29 Jun 2022 12:03:47 -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=vqch747gOxKi2e6jktllG45PUOpv6AsIfr/PgBNDnDA=; b=VBuYvPeBFmvr a3TmG6HB1UNCJd3tQ/0YQ4uMw0j7dQj4q065p4079Jb5/x0KEltlVOVoCP3s9AKgwLJMi04PgylIG SsVQA19w53c1/yOljH3IzmwiFtSUKwx1cuuWT7UvkUpMIOwaGt+IcQx3lTw2/IkQBh8VTFvuqEijg 8OuoX0KdNDVO9cSd/yjrE4J59GC3tHTSGyHWmLQ2Wn0lrT3vikDoTe1aP1lDDVsSx7we3Py3Ym1ID wYaqPhJKTde75lk3FaD5MM7k82x/4wDlBaU656lrpwHY8ONZYo3iwWzRNYwlKlMyOytYAf+Shhejk em18TtGuFjjcg4dK4xGa8A==; Original-Received: from [87.69.77.57] (port=2265 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 1o6aAN-0007Wm-49 for help-gnu-emacs@gnu.org; Wed, 29 Jun 2022 12:03:47 -0400 In-Reply-To: (message from Hongyi Zhao on Wed, 29 Jun 2022 22:30:47 +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:138198 Archived-At: > From: Hongyi Zhao > Date: Wed, 29 Jun 2022 22:30:47 +0800 > Cc: help-gnu-emacs > > OK. Let me take a concrete result as an example. If I search > `|isgroup|', then VSCode will give the only result immediately as > shown in the attached file. Now, how can I achieve this in Emacs? Maybe you can't, it depends on how deep into the file that match is and how fast is your system (if it's very fast, try enlarging the value of max-redisplay-ticks). But you are asking questions that are not relevant to what this feature does. This feature prevents Emacs from freezing when you visit such files. That is all it does. As I tried explaining several times already.