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: Sat, 20 Aug 2022 16:50:11 +0000 Message-ID: <37dd2827f539d0de2773@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> <325f95fd2b82a19f6838@heytings.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="KgXbyvh2Gl" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11891"; 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 Sat Aug 20 18:51:13 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 1oPRgl-0002ps-Uu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Aug 2022 18:51:12 +0200 Original-Received: from localhost ([::1]:49842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPRgk-0000eh-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Aug 2022 12:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPRgc-0000eZ-P6 for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 12:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPRgc-0006bU-GV for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 12:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPRgc-0004yU-2U for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Aug 2022 16:51:02 +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.166101421419049 (code B ref 57207); Sat, 20 Aug 2022 16:51:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 20 Aug 2022 16:50:14 +0000 Original-Received: from localhost ([127.0.0.1]:33438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPRfq-0004xA-4D for submit@debbugs.gnu.org; Sat, 20 Aug 2022 12:50:14 -0400 Original-Received: from heytings.org ([95.142.160.155]:33198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPRfo-0004x0-Ns for 57207@debbugs.gnu.org; Sat, 20 Aug 2022 12:50:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1661014212; bh=DJsP+kL6MTAxonYsRr0/htl0KkhgpNeewKX4C1XwD34=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=tVCbgCNBgY8pWy/Cq0E7xajFM9Q7jEmqEXVGntdtMBxUbCvoeQ1jao6VQF/WoRn19 lUuxBkYILzN9H7tkkAZJShym31bpxVge+nXG83C+CWq9MOyqkhxqhax6hVT4mkM6dF JNCNvj8XyOj7DMHzYL3+p16aUs+/VYGWTbV80es1EHS4ykLbxKsUzib6dYPEewLRNG UeLBFANXZwF73+EypVCc+sTkVV+p/PTIT0q+25EYNbUVZXHVDDt61v1W/S/KgwpHRt 7N1cS+ilRD79MZBZ9dYSNrE9QR/CxX9KABulj/NEtKXyrT7RDehyvQPFOo8pXs7rKw agrcaq1vCt29A== In-Reply-To: <325f95fd2b82a19f6838@heytings.org> 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:240260 Archived-At: --KgXbyvh2Gl Content-Type: text/plain; format=flowed; charset=us-ascii Ihor, any chance that you could try the patch (which I attach again to this post) and tell us if if solves your original problem, namely fontification that is slowed down in large Org files? --KgXbyvh2Gl Content-Type: text/x-diff; name=use_chars_modiff.patch Content-Transfer-Encoding: base64 Content-ID: <37dd2827f543b60658dd@heytings.org> Content-Disposition: attachment; filename=use_chars_modiff.patch ZGlmZiAtLWdpdCBhL3NyYy9idWZmZXIuaCBiL3NyYy9idWZmZXIuaA0KaW5k ZXggNDdiNGJkZjc0OS4uNzdmOWVhMjBhZiAxMDA2NDQNCi0tLSBhL3NyYy9i dWZmZXIuaA0KKysrIGIvc3JjL2J1ZmZlci5oDQpAQCAtMTQ5LDEyICsxNDks MTggQEAgI2RlZmluZSBCVUZfT1ZFUkxBWV9VTkNIQU5HRURfTU9ESUZJRUQo YnVmKSBcDQogI2RlZmluZSBCVUZfQkVHX1VOQ0hBTkdFRChidWYpICgoYnVm KS0+dG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