From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling) Date: Tue, 16 Aug 2022 12:43:05 +0000 Message-ID: <325f95fd2b82a19f6838@heytings.org> References: <87bksmx1j1.fsf@localhost> <5900f208367791fbdfe2@heytings.org> <83bksmka08.fsf@gnu.org> <325f95fd2b7c0cc80613@heytings.org> <83y1voflmb.fsf@gnu.org> <325f95fd2bce114fd74d@heytings.org> <87r11g1ieu.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4378"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57207@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 14:54:55 2022 Return-path: Envelope-to: geb-bug-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 1oNw5v-0000QM-Oq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 14:54:55 +0200 Original-Received: from localhost ([::1]:45936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNvvh-0004qD-42 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 08:44:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNvvO-0004nj-3z for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNvvN-0004HY-Qc for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNvvN-0008W3-Mz for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 12:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57207 X-GNU-PR-Package: emacs Original-Received: via spool by 57207-submit@debbugs.gnu.org id=B57207.166065378732649 (code B ref 57207); Tue, 16 Aug 2022 12:44:01 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 16 Aug 2022 12:43:07 +0000 Original-Received: from localhost ([127.0.0.1]:45214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvuV-0008UW-Hm for submit@debbugs.gnu.org; Tue, 16 Aug 2022 08:43:07 -0400 Original-Received: from heytings.org ([95.142.160.155]:55770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvuU-0008UP-8k for 57207@debbugs.gnu.org; Tue, 16 Aug 2022 08:43:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660653785; bh=TrqeyKrmo5cPcbKDbr/BfwmLlZwY2oU33LE7NLjqZ+I=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=3eH8ZF5IKl3Y23TDNiJiETU6VopQ0ZnBgQgg03+P4OJ4zBwcqbbcd7tgwIpRHSyfh kHsgLNL1NsgjZtCopB65ISNYymSYbS+/9EBEI3D+Pz+Q8cmGBAkBpYciCvxyE3MqSr JE8iUn88r5mGtU+acn6CPMByV3XxiRIevC3/DjwaDoHw2/ont60UZyggzfiPnwKGHR dA2NPdmIZD92vY6AptoIYgS/TvVzHMo+XP8bUirlPqfc1M7+ZERjYGuRDSdOK1FOhw Qcmf4y/FV8ITKnfsv8uY7ZWwljDfop/hsO941BEOdxHpdvx57yiwP6UkzDR2I59jtd +0qT/wxV1eq4Q== In-Reply-To: <87r11g1ieu.fsf@localhost> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239919 Archived-At: >>> Maybe Org does something that frequently causes a window's redisplay >>> cycle to end prematurely, in which case the code that looks for long >>> lines could be called too frequently. But in that case, your proposed >>> change will have the same problem, I think? >> >> That's possible indeed, let's see what Ihor tells us. > > I'm afraid that my knowledge of Emacs redisplay is not sufficient to > give any insight. I have no clue what "redisplay cycle end prematurely" > means and how it can be triggered. > I meant: let's see whether the patch I sent upthread solves your problem. Can you please try it?