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: Fri, 05 Aug 2022 13:49:07 +0300 Message-ID: <83edxv0xuk.fsf@gnu.org> References: <837d46mjen.fsf@gnu.org> <8335esjppt.fsf@gnu.org> <837d43j198.fsf@gnu.org> <83y1wjhkkh.fsf@gnu.org> <83wnc3hkdg.fsf@gnu.org> <49df74e5-e16a-a532-98d1-66c6ff1eb6c6@yandex.ru> <83pmhuft5a.fsf@gnu.org> <05388e8d8836c2e7ef3e@heytings.org> <136c4fe0fcb9ce5181cb@heytings.org> <3d639ea12689d767ba2a@heytings.org> <03dce9be-5c51-94d7-a32a-52ab7f57dde2@yandex.ru> <83r11w2m0i.fsf@gnu.org> <92da07bd02e5574a2ed3@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32269"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 05 12:51:08 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 1oJuv5-0008EO-UC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 12:51:08 +0200 Original-Received: from localhost ([::1]:44452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJuv4-0002w3-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 06:51:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJuu2-0002tc-GZ for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 06:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJuu2-0004W1-6f for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 06:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJuu2-0001XA-2V for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 06:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 10:50: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.16596965625836 (code B ref 56682); Fri, 05 Aug 2022 10:50:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 5 Aug 2022 10:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:56337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJutN-0001W3-Ky for submit@debbugs.gnu.org; Fri, 05 Aug 2022 06:49:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJutK-0001Vq-Ib for 56682@debbugs.gnu.org; Fri, 05 Aug 2022 06:49:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJutE-0004PM-64; Fri, 05 Aug 2022 06:49:12 -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=wfZJBexDbaHpGexxCN4UrBsqs2BiE30o50jBmMX5nXg=; b=pu+fVsPy52UG XYdszQbwJ/valJqlPt5uydzzsYwosQ+2ZNl/gm/rC1UdKkyB11lCJukX33ZLujxAt4SEeVgUwkYAu l8vs7CGgg0FS8Z9731D+03KJn1mGpx8Kalbln7JETV4Ruq3knK9505rej9c1VAi0zxG7sRoalr5c8 UnPqv+fl5QXORhZZmgPab7WsR77E4AwodylRqqIQbAvapbijb7WBO3t8DPxgERbGTAIZhMlc7aSZ+ 4MbrQinIfzWgo/BBwP9TNPEO6eRHv/mIjN0Xu7DbixR1PQ6m8cD05nVjT/f07SbA/9boahJvuqLbX Ethw/Zu10H7bKbi6B24yuQ==; Original-Received: from [87.69.77.57] (port=1144 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 1oJutC-000063-Bb; Fri, 05 Aug 2022 06:49:11 -0400 In-Reply-To: <92da07bd02e5574a2ed3@heytings.org> (message from Gregory Heytings on Fri, 05 Aug 2022 08:21:30 +0000) 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:238854 Archived-At: > Date: Fri, 05 Aug 2022 08:21:30 +0000 > From: Gregory Heytings > cc: Eli Zaretskii , gerd.moellmann@gmail.com, > 56682@debbugs.gnu.org, monnier@iro.umontreal.ca > > > BTW, 'M-> M-<' triggers some puzzling long wait (~3 seconds) both on > > master and with my change, every time I issue this sequence of commands. > > > > This is caused by show-paren-mode. Interesting. I guess the problematic part is the code in show-paren-mode which searches for the matching parenthesis, not the part that puts the overlay on the buffer? IOW, does making blink-matching-paren-distance smaller shortens the delay?