From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#66732: tree-sitter fontification doesn't update multi-line syntax reliably Date: Sat, 23 Dec 2023 19:02:54 -0800 Message-ID: References: <878r7s5cdf.fsf@honnef.co> <8c7cd429-bdc3-4fac-ad1c-fbad793bf1a0@gmail.com> <231ebcd1-ec30-0432-82e7-d63e11cd65f7@gutov.dev> <765D713E-9923-4F66-9044-9D69C104C9B0@gmail.com> <33fe5d61-5022-67c5-6a65-babde4fb7f91@gutov.dev> <92CACD38-9534-4A07-8DE3-CE8408272FB6@gmail.com> <59CC46F7-867E-4C74-83EC-49B41DF0FAB8@gmail.com> <8fa0e506-6efc-57d4-6034-e938f97b1fb0@gutov.dev> <83plz3i9vv.fsf@gnu.org> <83o7emj2qd.fsf@gnu.org> <83il4uicux.fsf@gnu.org> <838r5ldxyy.fsf@gnu.org> <4ACAC616-6491-4CAC-876B-DD8E33D5C23B@gmail.com> <0d20d395-7211-4731-8bea-a27db41a7f86@gutov.dev> <16f10884-538c-4158-b1dd-f016d85a996c@gutov.dev> <09F5F567-2BFD-4B27-ADF5-131F950C9CAC@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38691"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 66732@debbugs.gnu.org, Stefan Monnier , dominik@honnef.co To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 24 04:04:17 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 1rHEmm-0009ur-O0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Dec 2023 04:04:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHEmU-0004yA-Ro; Sat, 23 Dec 2023 22:03:58 -0500 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 1rHEmS-0004xk-N2 for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 22:03:56 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHEmS-0006cZ-F1 for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 22:03:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHEmY-0003Az-0e for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 22:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Dec 2023 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66732 X-GNU-PR-Package: emacs Original-Received: via spool by 66732-submit@debbugs.gnu.org id=B66732.170338700412160 (code B ref 66732); Sun, 24 Dec 2023 03:04:01 +0000 Original-Received: (at 66732) by debbugs.gnu.org; 24 Dec 2023 03:03:24 +0000 Original-Received: from localhost ([127.0.0.1]:51552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHElv-0003A4-O0 for submit@debbugs.gnu.org; Sat, 23 Dec 2023 22:03:23 -0500 Original-Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:50539) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHElt-00039r-FR for 66732@debbugs.gnu.org; Sat, 23 Dec 2023 22:03:22 -0500 Original-Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3bb53e20a43so2371936b6e.1 for <66732@debbugs.gnu.org>; Sat, 23 Dec 2023 19:03:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703386990; x=1703991790; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/GlNv1JhsVO9zwM8w+TcTRaAzOmAuxWobDSvlA8846g=; b=RUEID1iFep4gKpqYeXjDIJffFjNgYLCUTasjVUOjeQd0p0wAyCORsADHCiw+ohdA+c Q6ellB4cM1GXgugq/+slY6A3i58GsBiYiaBNmiW3U5Wq8hsjxtr+hWFBbRSlmTJrlBXo 6Xi1lS4Z0gaC+cSGVrb7pFji4C19PJVTVTsMbh9EwQhDtisy0iq1Zve5mFfNm0in1pp/ LA1+Sdr9/XpRBQkzVELUzKV1O+8ychk8g3Jz4pyogiFV9dxknLTnw9GJG+s+epp6/zI4 OL3yd8Wqzsq0ExLf4iadLbsRSr5M81IDTCv0KOQ/k1bhqnGuvWZZz7sBTFBXGsWAdvjP L8Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703386990; x=1703991790; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/GlNv1JhsVO9zwM8w+TcTRaAzOmAuxWobDSvlA8846g=; b=Y53JP8Lftq+NJYkuuZMACX/wHiiiylaCOOK5Tbj4sblJ3NJNzUCKNKwqhXUmNFApUI zjSVfICbPtDM+O+lub3e++H3j2elAOYCYIUWEWYqOcFRYApbBhZjI6d6Zp0vybBTi1xp 5rbvz/aqyHV3AtJpWVlAMhMa3W3hoCHdxzqpvE56KvEullWGb5ItURxhr1OHz9vCpZ6f 3Drl+MQvZB7HyebXb6yBpY9mNP9k0fdY/Cr3/xCqYT8sDPfhWf51F1HKhavWny/xqD8A Hj+CV6bqTaCg6WVdYMIhRay4H5+8FO4kzPiDc3DSChAg0ajSyfglDvk77VXvb9xIfkDs DZsg== X-Gm-Message-State: AOJu0Yx0IiI5JgoixcEhgafOBbN9eRrKf7sXUExQOYzz+vkZCjqoh9hi G+aOXg7t2+Hv4E88hA8bUpaLkMYd+NH/cw== X-Google-Smtp-Source: AGHT+IFXIYCtMBr3jYGyrao+GFVavmqQJQHu7Hi1I2NefisU5AW881MsrSJr+Z6weHhLZ+bK9dKWVw== X-Received: by 2002:a05:6808:21a6:b0:3b9:fae1:82b4 with SMTP id be38-20020a05680821a600b003b9fae182b4mr4724485oib.68.1703386990319; Sat, 23 Dec 2023 19:03:10 -0800 (PST) Original-Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id b20-20020a056a000cd400b0069346777241sm388543pfv.97.2023.12.23.19.03.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Dec 2023 19:03:09 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3731.700.6) 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:276783 Archived-At: > On Dec 23, 2023, at 6:10 PM, Dmitry Gutov wrote: >=20 > On 24/12/2023 01:07, Yuan Fu wrote: >>> On Dec 23, 2023, at 12:51 PM, Dmitry Gutov wrote: >>>=20 >>> On 23/12/2023 22:46, Dmitry Gutov wrote: >>>> On 23/12/2023 20:02, Yuan Fu wrote: >>>>> I have a patch. Dmitry, WDYT? >>>> Looks good! I haven't had a chance to test it yet, but it's = probably not necessary to do before the checkin. >> I tested with C block comments and python triple quotes and they both = work fine. >=20 > Thank you, see the follow-up in commit 9cfa498e0ab. Oops, thanks for the fix. Yuan=