From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sat, 13 Aug 2022 12:00:29 +0300 Message-ID: <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> References: <74ddc877f17a06d8f120@heytings.org> <100d08b3-c25b-683f-6def-39052107ab59@yandex.ru> <83h72r16g1.fsf@gnu.org> <640c2e07-98e1-96d6-bb02-19f5f03f637f@yandex.ru> <834jyq29o1.fsf@gnu.org> <92da07bd028e3ede61a6@heytings.org> <47894c57-dd8b-5778-240a-3fa6540e4d37@yandex.ru> <92da07bd02941d5537e9@heytings.org> <5308e3b5-a160-17d7-77ee-b1d00acfa20d@yandex.ru> <92da07bd02a6cc861e1a@heytings.org> <837d3lzv8n.fsf@gnu.org> <2c8d6755-cfe2-6559-3fde-3fa30ffb411e@yandex.ru> <83mtcgy44k.fsf@gnu.org> <83k07jx5jn.fsf@gnu.org> <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12074"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "56682@debbugs.gnu.org" <56682@debbugs.gnu.org>, Eli Zaretskii , "monnier@iro.umontreal.ca" To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 13 11:01:12 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 1oMn15-0002wu-8M for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 11:01:11 +0200 Original-Received: from localhost ([::1]:43930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMn14-0001WZ-0W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 05:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMn0w-0001WF-P8 for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 05:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMn0w-0006P5-GM for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 05:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMn0w-0001eK-5n for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 05:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2022 09:01:02 +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.16603812446307 (code B ref 56682); Sat, 13 Aug 2022 09:01:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 13 Aug 2022 09:00:44 +0000 Original-Received: from localhost ([127.0.0.1]:59661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMn0d-0001df-Ne for submit@debbugs.gnu.org; Sat, 13 Aug 2022 05:00:44 -0400 Original-Received: from forward502p.mail.yandex.net ([77.88.28.112]:55224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMn0a-0001dP-0U for 56682@debbugs.gnu.org; Sat, 13 Aug 2022 05:00:43 -0400 Original-Received: from myt5-71d760a98ca5.qloud-c.yandex.net (myt5-71d760a98ca5.qloud-c.yandex.net [IPv6:2a02:6b8:c12:208f:0:640:71d7:60a9]) by forward502p.mail.yandex.net (Yandex) with ESMTP id A63E3B81688; Sat, 13 Aug 2022 12:00:31 +0300 (MSK) Original-Received: from 2a02:6b8:c12:1c0c:0:640:4089:9bf1 (2a02:6b8:c12:1c0c:0:640:4089:9bf1 [2a02:6b8:c12:1c0c:0:640:4089:9bf1]) by myt5-71d760a98ca5.qloud-c.yandex.net (mxback/Yandex) with HTTP id 80U2QM0gQqM1-0TgKdBpb; Sat, 13 Aug 2022 12:00:30 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1660381230; bh=ejfwBsg3YkODyryhqfgZPRRCy6iCITsGVje+q/XdVSk=; h=References:Date:Message-Id:Cc:Subject:In-Reply-To:To:From; b=rKkteMEokNIipehe7ycEV81T+dX18JPFCp3jBk2TtmDiE0oy1Ong0UnGB7F5myvOR CwmQ90ObfOwlyByuKp8wECwbZ7wCfsz+0ETKEdvU/jXpsCksk/wlntPff6KNY8LSr2 zWZud4vCeB3+QnSC2hyj+d2d+TNcPrTOIghG9X8o= Authentication-Results: myt5-71d760a98ca5.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by myt5-40899bf1f056.qloud-c.yandex.net with HTTP; Sat, 13 Aug 2022 12:00:29 +0300 In-Reply-To: X-Mailer: Yamail [ http://yandex.ru ] 5.0 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-Subscrib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