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.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Tue, 16 Aug 2022 15:10:23 +0300 Message-ID: <83v8qsfky8.fsf@gnu.org> References: <83k07jx5jn.fsf@gnu.org> <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> <66bbbb95983414e79637@heytings.org> <83wnbckp0q.fsf@gnu.org> <8e884ebe-2d2e-d599-15c3-a5cfe5e6b295@yandex.ru> <83o7wnl7ok.fsf@gnu.org> <036414cc-c711-efaf-ed5b-f8ccfaca0604@yandex.ru> <5900f20836753183a6ac@heytings.org> <5c22e38a-5dcd-860e-28a0-b4a5ede6a21b@yandex.ru> <877d3awb92.fsf@localhost> <87pmh2z277.fsf@localhost> <83pmh1iwng.fsf@gnu.org> <87r11gztte.fsf@localhost> <8335dwh1v2.fsf@gnu.org> <875yis2zp8.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8863"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, gregory@heytings.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 14:11:15 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 1oNvPe-0002Al-Rk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 14:11:15 +0200 Original-Received: from localhost ([::1]:45012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNvPd-0006sS-59 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 08:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNvPS-0006s4-Ho for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNvPS-0007pv-5D for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNvPR-0007em-SS for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.166065185329417 (code B ref 56682); Tue, 16 Aug 2022 12:11:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 16 Aug 2022 12:10:53 +0000 Original-Received: from localhost ([127.0.0.1]:45157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvPH-0007eO-Tt for submit@debbugs.gnu.org; Tue, 16 Aug 2022 08:10:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvP9-0007e2-PQ for 56682@debbugs.gnu.org; Tue, 16 Aug 2022 08:10:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNvP3-0007nc-8H; Tue, 16 Aug 2022 08:10:37 -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=Ldpu+tKQ1qwtzFlHSEb1CAB6ukRRdM6TzJBaGddUTVI=; b=eJeESj3Ucwt7 JhDuTnd+qZoleWhrbOHBTm9v6EyXJ03WLj8VysruWfVLT2ZfMXpVxKdOoOUKBototrboDKuOgbEds YJxt0XYMds2Nkhe85oiA+To8lAbKG5xEv3kMQd6cwuqVufsiVXwcjF2426hMrUMjMR16ZLUW31RkH zDuc2DByvogj2KqRJx+xNS4jHXWA3XPcN5kYTLPibMnsv/dqRtjO6W6QM8RHkTMDMcAlQ7d+UYGxR KPXZ6TSLhNTj1oUSg2rIiXHkz5SAqVKZRfE4qOCoBFZYgYXL5QoC56yVwJHW9dqqJHDWYru0Lxv7j NaEDMbJr86dWLnPBS1HCbA==; Original-Received: from [87.69.77.57] (port=1828 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 1oNvP2-000291-Ny; Tue, 16 Aug 2022 08:10:37 -0400 In-Reply-To: <875yis2zp8.fsf@localhost> (message from Ihor Radchenko on Tue, 16 Aug 2022 19:30:11 +0800) 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:239906 Archived-At: > From: Ihor Radchenko > Cc: monnier@iro.umontreal.ca, dgutov@yandex.ru, gregory@heytings.org, > 56682@debbugs.gnu.org > Date: Tue, 16 Aug 2022 19:30:11 +0800 > > Eli Zaretskii writes: > > >> Also, I just checked some of my org files and found a >15k chars long line. > > > > 5k shouldn't present a problem, especially when some/most of it is > > invisible (as frequently is the case in Org). 15k might be a problem, > > indeed, depending on what's there. However, since you never > > complained about long lines until this day, I guess it isn't such a > > big problem. > > You are likely right. Note that this branch of the discussion mostly > started from me clarifying data about some large Org files. I did not > imply that Org files commonly have very long lines. Simply large-sized > Org files are more common (5-20Mb). > > Also, regarding most of the lines being invisible. Unless I miss > something, jit-lock actually tries to trigger fontification in the > invisible lines when we have something like: > -- > * headline >