From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 17:50:03 +0200 Message-ID: <87fshsteqc.fsf@gnus.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> <83tu68e83u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13296"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57207@debbugs.gnu.org, yantar92@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 19 17:51: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 1oP4HH-0003AF-BM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 17:51:19 +0200 Original-Received: from localhost ([::1]:40216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP4HG-00076G-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Aug 2022 11:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP4H0-000701-VB for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 11:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP4H0-0007yR-K4 for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 11:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP4H0-00024h-BT for bug-gnu-emacs@gnu.org; Fri, 19 Aug 2022 11:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Aug 2022 15:51: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.16609242157903 (code B ref 57207); Fri, 19 Aug 2022 15:51:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 19 Aug 2022 15:50:15 +0000 Original-Received: from localhost ([127.0.0.1]:59156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP4GE-00023P-VB for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:50:15 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP4GC-000236-K3 for 57207@debbugs.gnu.org; Fri, 19 Aug 2022 11:50:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mrCe99gkNuROVmfRcoby2a0d9n9E4jZ1tI1ICmg7V5c=; b=IV2j7nmZBVwMEu8ESD/35VP3/v Aothz3edVSdxWGovsW913+5efnWHYJTiHWNN93FdHF0FEdwPygH3mgNBC7vuycXFsrN4Bj/tgwtlq kxoWflPs6/f8F3SIpMdI0bg2JCtem86GcQWWkP0m6htYLRsiKwwWnuh9W8xN1sDxlBRo=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oP4G3-0002OR-Mv; Fri, 19 Aug 2022 17:50:05 +0200 In-Reply-To: <83tu68e83u.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Aug 2022 15:22:13 +0300") X-Now-Playing: Various's _We Are Not Alone Pt. 1_: "Jerk Off" 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:240213 Archived-At: Eli Zaretskii writes: > 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? I'm not sure, but that function is being called when I hit a key, at least: Thread 1 "emacs" hit Breakpoint 3, safe_run_hooks_maybe_narrowed (hook=hook@entry=XIL(0xcc90), w=0x55555614ba18) at keyboard.c:1929 1929 { (gdb) bt #0 safe_run_hooks_maybe_narrowed (hook=hook@entry=XIL(0xcc90), w=0x55555614ba18) at keyboard.c:1929 #1 0x00005555556ed677 in command_loop_1 () at keyboard.c:1467 #2 0x0000555555767977 in internal_condition_case (bfun=bfun@entry=0x5555556ed300 , handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556e0410 ) at eval.c:1497 #3 0x00005555556d89fe in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1132 #4 0x00005555557678b9 in internal_catch (tag=tag@entry=XIL(0xf7e0), func=func@entry=0x5555556d89d0 , arg=arg@entry=XIL(0x90)) at eval.c:1220 #5 0x00005555556d8999 in command_loop () at keyboard.c:1110 #6 0x00005555556dff68 in recursive_edit_1 () at keyboard.c:719 #7 0x00005555556e0310 in Frecursive_edit () at keyboard.c:802 #8 0x00005555555ad6a9 in main (argc=, argv=)