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#62333: 30.0.50; Issue with tree-sitter syntax tree during certain changes Date: Thu, 23 Mar 2023 09:13:28 +0200 Message-ID: <83h6uc549z.fsf@gnu.org> References: <87fs9yur7r.fsf@gmail.com> <2fd8f2b8-d9c4-c825-a789-f2d42324859f@yandex.ru> <09539C5E-23DA-4B00-A3F6-873A41D6A2CE@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12012"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wkirschbaum@gmail.com, 62333@debbugs.gnu.org To: casouri@gmail.com, Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 23 08:14:32 2023 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 1pfF9c-0002v4-BZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Mar 2023 08:14:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfF9N-0004lk-6t; Thu, 23 Mar 2023 03:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfF9C-0004jZ-FL for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 03:14:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfF98-00081V-VJ for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 03:14:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfF98-0000kT-Ek for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 03:14: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: Thu, 23 Mar 2023 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62333 X-GNU-PR-Package: emacs Original-Received: via spool by 62333-submit@debbugs.gnu.org id=B62333.16795556012812 (code B ref 62333); Thu, 23 Mar 2023 07:14:02 +0000 Original-Received: (at 62333) by debbugs.gnu.org; 23 Mar 2023 07:13:21 +0000 Original-Received: from localhost ([127.0.0.1]:37186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfF8S-0000jI-T9 for submit@debbugs.gnu.org; Thu, 23 Mar 2023 03:13:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfF8Q-0000j4-R8 for 62333@debbugs.gnu.org; Thu, 23 Mar 2023 03:13:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfF8J-0007wj-TT; Thu, 23 Mar 2023 03:13:13 -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=79rN7AN1uPlf1t2F39wMNUPWhOIuVYMiD/MVgsLFm5I=; b=b6VVScgx+ZAh POI8pveIMm8e810byzPaVjUI6GdrfriT6B18805WGtHmNNUlsT3YLQyqvHExIrcqd1im6L6y/kkyY rgvBI58r4g2ipfeme+NXE3vr/8Ca27Vw8rUz/f16KOr54K7hlkQ0zZj0HmzcD2TpYIKdekZCNsUIT Ks24nQh+m/x+ZQ9GnFmW0Lmy46Aq2hew3CAPh3GpGxfQfgYj7XDjNk9pXeiQIBmS1AcY8wYnHBLj2 BY8M/6Vr1Xrxs/xANzmOzkIg46timPaWQQsLo+MF5kMRMUzTK7Fkcnkuy20lwngOLuhkLHesowV+5 tauYzoHSL9TzGwpFRMXuxw==; Original-Received: from [87.69.77.57] (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 1pfF8J-0002kF-CH; Thu, 23 Mar 2023 03:13:11 -0400 In-Reply-To: (message from Dmitry Gutov on Thu, 23 Mar 2023 06:20:19 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258437 Archived-At: > Date: Thu, 23 Mar 2023 06:20:19 +0200 > Cc: Wilhelm Kirschbaum , 62333@debbugs.gnu.org, > Eli Zaretskii > From: Dmitry Gutov > > On 23/03/2023 05:03, Yuan Fu wrote: > > I suspect this has to do with the narrowed fontification we added for dealing with long lines. > > I'm pretty sure that one should only get used when the buffer contains a > line longer than 10000 characters. Yes (but I believe the threshold is 50K characters). The narrowing must come from somewhere else. Yuan, how did you see that ZV was changed? Can you run with a breakpoint in Fnarrow_to_region, and see which Lisp code does that?