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#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling) Date: Sat, 20 Aug 2022 12:29:51 +0300 Message-ID: <83bksfdzzk.fsf@gnu.org> References: <87bksmx1j1.fsf@localhost> <83sflvc85y.fsf@gnu.org> <87h729902w.fsf@gnus.org> <83edxdbs96.fsf@gnu.org> <87wnb5wthm.fsf@gnus.org> <83pmgxfyc7.fsf@gnu.org> <87fshtwsys.fsf@gnus.org> <877d35wsdd.fsf@gnus.org> <83ilmpfwrf.fsf@gnu.org> <8735dtwrar.fsf@gnus.org> <83h729ft60.fsf@gnu.org> <87tu68v3uu.fsf@gnus.org> <83tu68e83u.fsf@gnu.org> <87fshsteqc.fsf@gnus.org> <87bksgte5e.fsf@gnus.org> <877d34tdwf.fsf@gnus.org> <83pmgwdxhh.fsf@gnu.org> <8735dstdhn.fsf@gnus.org> <83mtc0du8c.fsf@gnu.org> <87wnb4rvqz.fsf@gnus.org> <83k074dsux.fsf@gnu.org> <87k073qnqw.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25582"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57207@debbugs.gnu.org, yantar92@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 20 11:31:19 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 1oPKp4-0006Vj-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Aug 2022 11:31:19 +0200 Original-Received: from localhost ([::1]:43224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPKp3-0004vr-HS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Aug 2022 05:31:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPKop-0004va-0Q for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 05:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPKoo-0004Gp-OQ for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 05:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPKoo-0003jz-HZ for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2022 05:31: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: Sat, 20 Aug 2022 09:31: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.16609878025934 (code B ref 57207); Sat, 20 Aug 2022 09:31:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 20 Aug 2022 09:30:02 +0000 Original-Received: from localhost ([127.0.0.1]:59588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPKnp-0001XE-Ru for submit@debbugs.gnu.org; Sat, 20 Aug 2022 05:30:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPKnn-0001X0-52 for 57207@debbugs.gnu.org; Sat, 20 Aug 2022 05:30:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPKnh-0003tT-Th; Sat, 20 Aug 2022 05:29:53 -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=Ja3JySF4XOb8mCq7WA3FUEStQHv/Ec9/j5zedz0mCL0=; b=hI2/gejFRJwQ 9s/RSc1k7w+NF1NpvpPdvxi7nrs0Vpp3C6PXNqJs/wUxIW/yTVzkl6vHec5jAFXHivkmrsVxhlvys cQZNkU9jRiLlJS5YbHZwWidb32zI7IxOgyfsR6EGHWU7s1X86VwDH6JbKQDo0qmj9T6P2xJepmwv+ p2bjNXgY4KrpcUfFa8DLHgVF/zR8gIxVVhueoNrOMA+VrNqfueTV6jyQIvpvbpn0Q5LU19J5V6PES TOzDVNSZAGrjBJsihhSSQ79j5zKSmX6Dt+OcZUrupkdy4+/T2e72lKhraOk82PVLVwAKDJBVx6Kln 8zzo0tZ9wnWb4KV1gv5VEQ==; Original-Received: from [87.69.77.57] (port=3708 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 1oPKnh-00074D-DZ; Sat, 20 Aug 2022 05:29:53 -0400 In-Reply-To: <87k073qnqw.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 20 Aug 2022 11:15:51 +0200) 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:240235 Archived-At: > From: Lars Ingebrigtsen > Cc: 57207@debbugs.gnu.org, yantar92@gmail.com > Date: Sat, 20 Aug 2022 11:15:51 +0200 > > Eli Zaretskii writes: > > > Ah, I know what's causing this: flyspell calls redisplay (via sit-for) > > inside its post-command-hook. > > > > So I think this basically means we cannot narrow the buffer while > > calling pre- and post-command-hooks, because any of them can trigger > > redisplay, and that will show "Narrow" on the mode line. > > Would binding `inhibit-redisplay' there help? Maybe it will, but how can we do that? It would break any pre- and post-command hooks that do need to trigger redisplay.