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: Thu, 18 Aug 2022 17:13:21 +0300 Message-ID: <83lerlfxmm.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> <83czcxbrsi.fsf@gnu.org> <87sfltwtft.fsf@gnus.org> <87k075wt06.fsf@gnus.org> <83mtc1fxqs.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36384"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57207@debbugs.gnu.org, yantar92@gmail.com To: larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 18 16:14: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 1oOgHk-0009Kf-6Y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Aug 2022 16:14:12 +0200 Original-Received: from localhost ([::1]:43846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOgHj-00028e-5s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Aug 2022 10:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOgHa-00026m-FN for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2022 10:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOgHa-0007ci-71 for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2022 10:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOgHZ-00085i-Vb for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2022 10:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Aug 2022 14:14:01 +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.166083201631060 (code B ref 57207); Thu, 18 Aug 2022 14:14:01 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 18 Aug 2022 14:13:36 +0000 Original-Received: from localhost ([127.0.0.1]:56394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOgH9-00084u-VY for submit@debbugs.gnu.org; Thu, 18 Aug 2022 10:13:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOgH8-00084i-9D for 57207@debbugs.gnu.org; Thu, 18 Aug 2022 10:13:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOgH3-0007Yf-2f; Thu, 18 Aug 2022 10:13:29 -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=tniZjdhggrhrVEmG1QCEHftnBZNXQLzHm6suIKcjr0I=; b=ZYrRnHY+MABz Z2FPZFar+pqv/rJrzxCb7h/mwV8pD1VaLtx/AZqa8e00zZiNQ8dmw2mRhLO//R190tksTO48oRlFf jUJOOZu1UFgluzUjtXsrt2B14whKt2aVj/L2gO0E3iM845LX0do5P7h33+qDfeU1/+P0WB6m34REn gj8xv7WqkFAH+wVLpuRV2gBkJ+1LY2VaQK3ZovZksAjeuAmb+iSsPLX/Nfoez5TZFg9Gl8WbTH7GF DhOVxvr5QltuiOgWU5kRabqUjdsDas6Crf9VlwUR5zXu9VGY1l0L7Eyx038zkQkssBq7oV/X+2rs/ Oxjo9KV4mQ5Bdq3RuAM2Eg==; Original-Received: from [87.69.77.57] (port=2937 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 1oOgH2-0000Qe-E2; Thu, 18 Aug 2022 10:13:28 -0400 In-Reply-To: <83mtc1fxqs.fsf@gnu.org> (message from Eli Zaretskii on Thu, 18 Aug 2022 17:10:51 +0300) 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:240161 Archived-At: > Cc: 57207@debbugs.gnu.org, yantar92@gmail.com > Date: Thu, 18 Aug 2022 17:10:51 +0300 > From: Eli Zaretskii > > But a momentary narrowing does happen, and it comes from here: > > > safe_run_hooks_maybe_narrowed (Qpre_command_hook, > XWINDOW (selected_window)); > [...] > > safe_run_hooks_maybe_narrowed (Qpost_command_hook, > XWINDOW (selected_window)); I guess we need unwind-protect inside safe_run_hooks_maybe_narrowed?