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 15:22:13 +0300 Message-ID: <83tu68e83u.fsf@gnu.org> References: <87bksmx1j1.fsf@localhost> <83lerqkd2u.fsf@gnu.org> <87o7wl4tsv.fsf@localhost> <87r11h90zw.fsf@gnus.org> <8335dxiu6m.fsf@gnu.org> <87y1vnjgmn.fsf@gnus.org> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38233"; 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 14:23:09 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 1oP11p-0009mR-Cf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 14:23:09 +0200 Original-Received: from localhost ([::1]:44936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP11n-0005Yx-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 08:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP11i-0005Yp-Oj for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 08:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP11i-00075y-GK for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 08:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP11i-0006qv-BY for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 08:23: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 12:23: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.166091174726287 (code B ref 57207); Fri, 19 Aug 2022 12:23:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 19 Aug 2022 12:22:27 +0000 Original-Received: from localhost ([127.0.0.1]:57529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP119-0006pu-0Q for submit@debbugs.gnu.org; Fri, 19 Aug 2022 08:22:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP116-0006ph-UE for 57207@debbugs.gnu.org; Fri, 19 Aug 2022 08:22:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP111-0006un-5U; Fri, 19 Aug 2022 08:22:19 -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=Sx+1HE+N1lDGH0DDmTZo6Koh3BDmucK9c1QMusQ/nN0=; b=i2UpG9bunDga 7GHbZRM+xMZp1f7ixTMhf5uMbPva/qqeraQJg9KXxto0iGQ9o9TMAw8dEEXgbSvXdsb5dQRLfnw7p bQjE3Zar2TwVckDtzqS545aooV81ce9f+jnuAl7n+lz1uU8LLXKuxcM0pgBoFMoi5J/rnJJJ7K14C NlAT+ei2cNAxDtmQbxWnYC7+KqiOqkS/5lHm3jcVNdwWuHiaF36HeWEgrERT/MoKmrmgdrSj8swh0 PcJsDf6lnJ2ecPDbL4F9kKSrIhWRmTevYgvgDc/U4N1ca3+I2n7zIYlMPjQxkYGEcFCv/K+7GicEP 2bm7Y1ZE+1NA7yK84IvLuQ==; Original-Received: from [87.69.77.57] (port=1094 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 1oP110-0000JJ-4j; Fri, 19 Aug 2022 08:22:18 -0400 In-Reply-To: <87tu68v3uu.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 19 Aug 2022 14:02:01 +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:240203 Archived-At: > From: Lars Ingebrigtsen > Cc: yantar92@gmail.com, 57207@debbugs.gnu.org > Date: Fri, 19 Aug 2022 14:02:01 +0200 > > Eli Zaretskii writes: > > >> >> (progn > >> >> (pop-to-buffer "foo.txt") > >> >> (flyspell-mode) > >> >> (insert (propertize (make-string 20000 ?x) 'display "foo") > >> >> "\n\n")) > >> > > >> > Still no "Narrow" on the mode line. > >> > >> Did you type a character after eval-ing that? > > > > Yes. > > Odd. I can reproduce this both on Ubuntu and Debian. Is it true that the call which makes the narrowing comes from safe_run_hooks_maybe_narrowed in your case? If so, can you step through the code after the narrowing and try to figure out why isn't narrowing undone after the hook function returns?