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: Fri, 19 Aug 2022 20:51:34 +0300 Message-ID: <83k074dsux.fsf@gnu.org> References: <87bksmx1j1.fsf@localhost> <83y1vncbq5.fsf@gnu.org> <87r11fgi7h.fsf@gnus.org> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13580"; 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 Fri Aug 19 19:52:44 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 1oP6Al-0003KO-5n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 19:52:43 +0200 Original-Received: from localhost ([::1]:39148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP6Ak-0004jB-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 13:52:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP6A9-0003hJ-Ky for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 13:52:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP6A7-00017H-Vt for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 13:52:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP6A6-0007Me-KR for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 13:52: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, 19 Aug 2022 17:52: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.166093150928289 (code B ref 57207); Fri, 19 Aug 2022 17:52:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 19 Aug 2022 17:51:49 +0000 Original-Received: from localhost ([127.0.0.1]:59269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP69s-0007MB-P7 for submit@debbugs.gnu.org; Fri, 19 Aug 2022 13:51:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP69o-0007Lu-94 for 57207@debbugs.gnu.org; Fri, 19 Aug 2022 13:51:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP69i-0000zd-Sq; Fri, 19 Aug 2022 13:51:38 -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=k4rYzAUQlWx2Q1q+gPp4TpPdSldVrXcOZKoyRLN6kKU=; b=Ew/pP0qisLmp KP5YwLYTPUiPvnpS11pzIbKEtnyramWHhJFTLBcP9g7aBuMp3Ps4nxBiEJnIhR5telDZU0TrcKxqy mI5PGo/yRwbNOVv7wlfCGSoXffLKs2hKhjAasVmYr4GQRVLwBFXahUw5keAa3MZdae9Dut/K7s/YE iZvXAuudivbfJO1NbLK4g+Y6AyDOY8OdCT240WBTdlXSHW3odGTAbU3QO3ouhuFvTOHQAAvK+ICk+ 2lqd5k7jxagXKLhWh6OTxrEoZsVPIj7JFSzrlT0ndYZeapE7ta1mxAOSsH+djU3y0h0yANJNUf895 xDUA6LitjjpvnvKlwVC67Q==; Original-Received: from [87.69.77.57] (port=2038 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 1oP69i-0001D0-Bg; Fri, 19 Aug 2022 13:51:38 -0400 In-Reply-To: <87wnb4rvqz.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 19 Aug 2022 19:25:24 +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:240224 Archived-At: > From: Lars Ingebrigtsen > Cc: 57207@debbugs.gnu.org, yantar92@gmail.com > Date: Fri, 19 Aug 2022 19:25:24 +0200 > > Eli Zaretskii writes: > > > I types "s". Does it matter what you type? > > Nope. 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. (I also understand why I didn't see the problem on my system: it's because the recipe signals an error here, and flyspell-mode isn't completely enabled.)