From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 12 02:35:44 2024 Received: (at submit) by debbugs.gnu.org; 12 Sep 2024 06:35:44 +0000 Received: from localhost ([127.0.0.1]:39964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sodQe-0005HE-29 for submit@debbugs.gnu.org; Thu, 12 Sep 2024 02:35:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:53952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sodQZ-0005H5-Tb for submit@debbugs.gnu.org; Thu, 12 Sep 2024 02:35:42 -0400 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 1sodQL-0003tB-QR for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 02:35:30 -0400 Received: from out203-205-221-221.mail.qq.com ([203.205.221.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sodQE-0000vD-Vz for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 02:35:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1726122900; bh=BXuXT1AmFF4NJhz7Lg8dvjipxFAThOQC+KvILSic2KA=; h=From:To:Subject:Date; b=GVsZTghCSnUdGHzx7w0gT0Iyn1dZ4L0ID1QBzbrNiAc/w35KeTF/ZLLFFmjI/+K5W lMMPGXAqRnoq74eMM5NxT3UevP3U16rHvwalFi3dmCFXt8YT59sh5v9jC04129mrzp HxU5Uii4qwsMqCzpJPxc/+3r2s3vh3kblyviJRNc= Received: from tbook ([60.26.151.15]) by newxmesmtplogicsvrsza29-0.qq.com (NewEsmtp) with SMTP id 8BA282D0; Thu, 12 Sep 2024 14:34:58 +0800 X-QQ-mid: xmsmtpt1726122898t4a3lxrya Message-ID: X-QQ-XMAILINFO: OQj9ZvoNBV1EIvpC0pjTzhYYAIPBPg0FKrA0u269c9pVTBWLAS5dANwRfanGug 9Cw5E+lNlhCzNKHzUFAovCM8+xx51sGCqdLhqnhkSF7y7omGMQMPw50+jnDDIoVq8WgbQNahIypK cAr7A85gnCOjsTq9kE6/yUAQAmQBPDOe3Q9uEamGebmbCaZquTppQTScxZ9VNsL6e8/KdmgkCU8c vuA2TREu2g/smL+FXpuDjZZaK3yFl9cPYsyfs5XPrnQqB84XXA5UrZX9Oe72T+tT0qHEGgVu2+zv qZ6g10nJfVvfqK9aVqqcTdwjavdIqyk2HpAvfliluY705AU17YlRzH7cWotHE86CcovmVFTbo9Gn rSawslYkd8S9JlmI3A61ByGkD4IjxgFY70LUzVG7YhQ/Cbrpr1E1OoZ0nzOS0Sn6LQ+UMn4EGp8R /n3wnUCzcZ/lixL6NVZ23/XyYVRGwVFVU22AlgsI1DbKWXlx88QbugpucLEPDz0UwUO/6HioBNT+ 89QcGhkV6US2ZaA+uDAq3Q/KPeSah8G8nvvvrKAJNEFmHBZiaW7vt5A8OvUrNaQuy05OG9v2qIdr zPCSMChK494d0fFgjNBsYFzrKW6CXWRkhbI/rWPD53gluBrkhRgkiezVLRu4ohUy+IaIb089MWuy B7mnLwDhO0v/hiFgRXJDE28jSLNdUqEY33o6tmxicnsyxzWOkcAdVol6EeQh3D0WOZTxodL0LEn3 EDS1jMGQSD6SPZe2mUE9rwZnsCRS1qe+F/V5WuJU515cp+XNpupX75C+GPIz/XmBNNTcyUOl3B/F YShrll5eZrOTSSEVzANvaUPoqsh2HhmJRWyfdRTqbDw9FwXVmk6ipfEoYElAQil6ytqT8cpLsgcw aDqb2NXdN/+WeuDMxyifGgBP6qKQyq243SZR6iDnyhzC8YztA5fEKtQv5o93/YRQfmbwwk6S0905 Y12vumX6gBJD30OfqSbQ== X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg= From: Yang Yingchao To: bug-gnu-emacs@gnu.org Subject: 30.0.91; missing some keywords in c++-ts-mode X-Debbugs-Cc: Date: Thu, 12 Sep 2024 14:33:50 +0800 Message-ID: <87o74tmldd.fsf@qq.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=203.205.221.221; envelope-from=yang.yingchao@qq.com; helo=out203-205-221-221.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Some keywords are missing in `c++-ts-mode`, compared to `c++-mode` (defined in `cc-langs.el`), notably: "virtual," "thread_local," and maybe others. Regargs yang From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 12 02:42:00 2024 Received: (at 73191) by debbugs.gnu.org; 12 Sep 2024 06:42:00 +0000 Received: from localhost ([127.0.0.1]:40002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sodWi-0005b9-Ab for submit@debbugs.gnu.org; Thu, 12 Sep 2024 02:42:00 -0400 Received: from out203-205-221-164.mail.qq.com ([203.205.221.164]:37017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sodWe-0005ap-IP for 73191@debbugs.gnu.org; Thu, 12 Sep 2024 02:41:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1726123294; bh=ti+S91WPyhBBi/RhMc2Tj/BICkUL4ETfDE119EeusvI=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=BxCo8I1mh6MNuuXKsrHZxfur6JiHm/6skq10oiyb9KuwpowdTUipI20o7qif4YZV5 z9jPt433r2Fj9I9rBV9rj+KYE2aH+e1G+R33FZNJGqiJ/zBVtvih0Dvh0GRDCI/p7M mAsrUgVTTAYcVouanHsiIV69SWNcGHboCDLoafK8= Received: from tbook ([60.26.151.15]) by newxmesmtplogicsvrszb9-0.qq.com (NewEsmtp) with SMTP id A612B22B; Thu, 12 Sep 2024 14:41:33 +0800 X-QQ-mid: xmsmtpt1726123293tm95a54vm Message-ID: X-QQ-XMAILINFO: Mh1dUllL/+A2M+j+3bwlcOArrZGoLdPcpZotF696X7tXKWkgXB80VhH8eEzK65 Q/Ow1IrVSTuIIKwxf0fTZRgLY8z6T0bwMpfKk3pBVzCPyGaTGLmG6Pp5d+E0Mc69XQL7fPHIcfDP y6zaDRfzxJoW55FZNoAFMpTWFH3DLY37PSvMQJpknK/uv4+uheQsGghYuMd1n68I/LcxU9F4HbiY /+quqzej0ARQrogjIFMhOIKA3dAeZaTj7afNt8AaEcECeb3Z1/Gf9Xo7R15WJp+6rv8kE3rfVl11 Y1hKGp22fMSKGXYKPbRfJCdN2tlQFL7dXzQf1T39AUvhUo0NtHY6FPQetg+xlnBdToSLbpv7rjZB 4VdAwnBaJe3mSUGboLVYtoJZrVCp5MCWq11UwoQK9E4/s4n5j8oE01w7SAD/3sNT+JK2re5BRFFQ EWwPNZz7KoErHODdxAiIv4LjfYnlDBpwmxaSw3nO0xe6jLCVmGfShYuzxPQ3cEnUWAPjF4XHdd39 oJ5drTHAYU1MF98K7kCKX0FdXbFXSNStHGuDgqr6WHL7lVZiaZ93/ZWCVH5JT05v58eKglNGzbX8 zaM66qm/1rjBRH/eIRhIL0fxoR9pU43UeC/FmwT7CqbOmcnWuCHCz5S2T3M0zDf0dcE2mJ6ksHu+ sIa5q1ODyuYdcPqzSH+dgrNdxx9C003bebrdfFNR7zHfqeCGRrzZAkJHx9AgcuHhctQziQUJX1i3 qqDwMFE6dIyLMnNSjztfZEzE4lfbPL0y1AWwf8FZ2OBRKse/SnyGLhtY5ql8VdWzwM1ENVRC7yVt qSOWBTHtiZJqV5755lq+Ot0c+hDI9ACSOY+JADIrTwkfAEBjWmsUcWU7d2PnjnN34BBUMcMsp2Ho aTeKsHauKAIXkqlNVFDWMVbFU+OS7ciLAud1QNizvJYsn6xNFbaBrWUwwbnU/SxRRwWqd7KqgaUF /i4uj5QcQNWeRHIm4ofhLTmE16UQrNyhj8KQU3kkhrGElQavJrUg== X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= From: Yang Yingchao To: help-debbugs@gnu.org (GNU bug Tracking System) Subject: Re: bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) In-Reply-To: (GNU bug Tracking System's message of "Thu, 12 Sep 2024 06:36:02 +0000") References: <87o74tmldd.fsf@qq.com> Date: Thu, 12 Sep 2024 14:40:26 +0800 Message-ID: <87jzfhml2d.fsf@qq.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, Sep 12 2024, GNU bug Tracking System wrote: Update: `virtual` works fine, only `thread_local` is not highlighted... > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [203.205.221.164 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [203.205.221.164 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (yang.yingchao[at]qq.com) 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -0.0 T_SCC_BODY_TEXT_LINE No description available. 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) X-Debbugs-Envelope-To: 73191 Cc: 73191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, Sep 12 2024, GNU bug Tracking System wrote: Update: `virtual` works fine, only `thread_local` is not highlighted... > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [203.205.221.164 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [203.205.221.164 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (yang.yingchao[at]qq.com) 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 3.2 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) On Thu, Sep 12 2024, GNU bug Tracking System wrote: Update: `virtual` works fine, only `thread_local` is not highlighted... > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > bug-gnu-emacs@gnu.org > > If you wish to submit further information on this problem, please > send it to 73191@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 14 06:06:08 2024 Received: (at 73191) by debbugs.gnu.org; 14 Sep 2024 10:06:08 +0000 Received: from localhost ([127.0.0.1]:44890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spPfM-0002x9-0p for submit@debbugs.gnu.org; Sat, 14 Sep 2024 06:06:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spPfJ-0002wY-DE for 73191@debbugs.gnu.org; Sat, 14 Sep 2024 06:06:06 -0400 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 1spPez-0002mX-PZ; Sat, 14 Sep 2024 06:05:45 -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=T6Eh0Nmi9THIU8IEWrK3mf5qhwd3kaL8fk9/H5hI0dw=; b=JuEgpEPx40UJ 560M70G7FTpH8UPqm6NWPf7hvtI4bL3rrDgN4NwoLiIQ9Fk6GTmkbG65VQti6drLeB9yJFlwE92Sv 7v4XjIhJs265IzjbIA7U/Ns/DTSSxWJcxC+CRqpIQUoKvaobeU2oPcQRaa1/iB7C2rY32aZpKBerB 4P714PafLX+cdmynn9uD/BhB/7YUWtKGh4d4GOT3ZRItfvV3alqw/HBBM6IZ8S1KPEm4rLq9lnNE4 X/V+Ny5/OrecpBxeNHHHUcRMcfD0D8tPhcw9RueLKBWKqaBZiVVPEOiuaCzjL/31iacJ1xZ4hWAQI 7gjQMEGeERoveeC+QzhXxw==; Date: Sat, 14 Sep 2024 13:05:20 +0300 Message-Id: <86cyl6h7of.fsf@gnu.org> From: Eli Zaretskii To: Yang Yingchao , Yuan Fu In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) References: <87o74tmldd.fsf@qq.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73191 Cc: 73191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 12 Sep 2024 14:40:26 +0800 > From: Yang Yingchao via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > On Thu, Sep 12 2024, GNU bug Tracking System wrote: > > Update: `virtual` works fine, only `thread_local` is not highlighted... Yuan, Could you please look at this? It sounds like we lack "thread_local" (and also "virtual"?) in c-ts-mode--keywords. But when I tried to add them I found a more serious problem: with the current C++ grammar library I see the following messages in *Messages*: Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 677 "[\"_Atomic\" \"break\" \"case\" \"const\" \"continue\" \"default\" \"do\" \"else\" \"enum\" \"extern\" \"for\" \"goto\" \"if\" \"inline\" \"register\" \"restrict\" \"return\" \"sizeof\" \"static\" \"struct\" \"switch\" \"typedef\" \"union\" \"volatile\" \"while\" \"and\" \"and_eq\" \"bitand\" \"bitor\" \"catch\" \"class\" \"co_await\" \"co_return\" \"co_yield\" \"compl\" \"concept\" \"consteval\" \"constexpr\" \"constinit\" \"decltype\" \"delete\" \"explicit\" \"final\" \"friend\" \"mutable\" \"namespace\" \"new\" \"noexcept\" \"not\" \"not_eq\" \"operator\" \"or\" \"or_eq\" \"override\" \"private\" \"protected\" \"public\" \"requires\" \"template\" \"throw\" \"try\" \"typename\" \"using\" \"xor\" \"xor_eq\"] @font-lock-keyword-face (auto) @font-lock-keyword-face (this) @font-lock-keyword-face (virtual) @font-lock-keyword-face" "Debug the query with `treesit-query-validate'") Could you please look at this and fix it ASAP, since this is affecting the release branch? TIA From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 14 14:12:54 2024 Received: (at 73191-done) by debbugs.gnu.org; 14 Sep 2024 18:12:54 +0000 Received: from localhost ([127.0.0.1]:47778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spXGP-0006aB-L5 for submit@debbugs.gnu.org; Sat, 14 Sep 2024 14:12:53 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:51397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spXGL-0006Zt-5d for 73191-done@debbugs.gnu.org; Sat, 14 Sep 2024 14:12:51 -0400 Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-20536dcc6e9so14452635ad.2 for <73191-done@debbugs.gnu.org>; Sat, 14 Sep 2024 11:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726337491; x=1726942291; 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=cLgSFyJX8D+UjAgOaX0XLsi8ff2d8f6ba8Aqg7iiVH4=; b=nUnQTO1yCLDt41JLS088k6VOI1G1lkJ3SHR8Yx9PhOcsZCkG1SHLO3r4QVVsdb+nZK tfO0DoABUz72Jg2rORDynItu5FEluDzQEPKftQgdhGuG9yY8EVIaj3acjWQBcY+zpkQS aJr3G3xxmUMJCfW427v9//QcyDiK4kyav8EIjq65ZAP900sBYpetTs5UYAFBe3npL9IP FV+Fi11zzvMdkVm2s+SgK0JC5e3caHkoGvom7Ul0/Ck/pHxamnfFu3D1UVIOTBVdbj0v Ag6McQzqAnSfZuJwjjohZQkPuOJnJAfLFvaaa/RpVpcl5e1DjlyGZgJ50JB99u5jg288 59pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726337491; x=1726942291; 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=cLgSFyJX8D+UjAgOaX0XLsi8ff2d8f6ba8Aqg7iiVH4=; b=uM5386bc1AatvWJzimklnX0k7XmTuKxkJoR8PhqhcFB9cFdZxg1Ks7983EzITGjaNq 2bGwHrgkhK5gRc4YNesEey4mHbQd2cPmn4EQnWxBboPcv7Anxfsi3WZg7IZCtvqUZN3L 0B42CUJbXEf+9ggycXfasPp9wLsfvxyCu0YAlFPPIQuUX5O9KUUadKgFKp2kYCc2Zz+o 6zfatJTQqOzQOEuu+I0P6oRvumPXOupdFNbMGEOS71RLwt7hiDH5raG0+6VlJiSFE4PK Ynll2ijKAkjIndmQcEny6OGjmCYJb2TYYiFpyU674OYmSx7YsIQVpHkZlNRyVISV/QWy 2O7A== X-Forwarded-Encrypted: i=1; AJvYcCVpur9YDX8aLnoiX2GBRiZORALwJn6/JzBdDqcFR/ujSnixMoqvLfH4e29Pl18EAyLASEgkmlKk8Upl@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz8clqlIqMUaOkWXVsZebm3L3BH5MSMMVqShsXfP1sOsbajfMIx 4TsOrGmOc4OoOVY/2l/BOqXONo8Uh1dolOgtZgUTdnDTYKztdIL1 X-Google-Smtp-Source: AGHT+IErH7zeSiMDNdeB1o/t2KgCndb0OQ1oH0AH5CCV5R3teF1tXkvUynnyf/XyHNrpgi+vmqerlA== X-Received: by 2002:a17:903:1c5:b0:206:9ab3:2ec1 with SMTP id d9443c01a7336-2078295da1fmr80483645ad.22.1726337490978; Sat, 14 Sep 2024 11:11:30 -0700 (PDT) Received: from smtpclient.apple ([2601:646:8f81:6120:c75:3002:9563:938e]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-207946fab2bsm11896765ad.194.2024.09.14.11.11.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Sep 2024 11:11:30 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) From: Yuan Fu In-Reply-To: <86cyl6h7of.fsf@gnu.org> Date: Sat, 14 Sep 2024 11:11:19 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87o74tmldd.fsf@qq.com> <86cyl6h7of.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3776.700.51) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 73191-done Cc: Yang Yingchao , 73191-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Sep 14, 2024, at 3:05=E2=80=AFAM, Eli Zaretskii = wrote: >=20 >> Date: Thu, 12 Sep 2024 14:40:26 +0800 >> From: Yang Yingchao via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> On Thu, Sep 12 2024, GNU bug Tracking System wrote: >>=20 >> Update: `virtual` works fine, only `thread_local` is not = highlighted... >=20 > Yuan, >=20 > Could you please look at this? >=20 > It sounds like we lack "thread_local" (and also "virtual"?) in > c-ts-mode--keywords. But when I tried to add them I found a more > serious problem: with the current C++ grammar library I see the > following messages in *Messages*: >=20 > Error during redisplay: (jit-lock-function 1) signaled = (treesit-query-error "Node type error at" 677 "[\"_Atomic\" \"break\" = \"case\" \"const\" \"continue\" \"default\" \"do\" \"else\" \"enum\" = \"extern\" \"for\" \"goto\" \"if\" \"inline\" \"register\" \"restrict\" = \"return\" \"sizeof\" \"static\" \"struct\" \"switch\" \"typedef\" = \"union\" \"volatile\" \"while\" \"and\" \"and_eq\" \"bitand\" \"bitor\" = \"catch\" \"class\" \"co_await\" \"co_return\" \"co_yield\" \"compl\" = \"concept\" \"consteval\" \"constexpr\" \"constinit\" \"decltype\" = \"delete\" \"explicit\" \"final\" \"friend\" \"mutable\" \"namespace\" = \"new\" \"noexcept\" \"not\" \"not_eq\" \"operator\" \"or\" \"or_eq\" = \"override\" \"private\" \"protected\" \"public\" \"requires\" = \"template\" \"throw\" \"try\" \"typename\" \"using\" \"xor\" = \"xor_eq\"] @font-lock-keyword-face (auto) @font-lock-keyword-face = (this) @font-lock-keyword-face (virtual) @font-lock-keyword-face" "Debug = the query with `treesit-query-validate'") >=20 > Could you please look at this and fix it ASAP, since this is affecting > the release branch? >=20 > TIA Yeah, sorry that I missed this report. And lol, tree-sitter-cpp changed = =E2=80=9Cvirtual=E2=80=9D to (virtual) in May and then changed it back a = few days ago. I added =E2=80=9Cthread_local" keyword and added logic to use (virtual) = or =E2=80=9Cvirtual=E2=80=9D depending on the grammar. Yuan= From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 14 15:06:50 2024 Received: (at 73191) by debbugs.gnu.org; 14 Sep 2024 19:06:50 +0000 Received: from localhost ([127.0.0.1]:47808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spY6c-0001D8-DX for submit@debbugs.gnu.org; Sat, 14 Sep 2024 15:06:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spY6b-0001Cq-0K for 73191@debbugs.gnu.org; Sat, 14 Sep 2024 15:06:49 -0400 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 1spY6J-0001Fn-4J; Sat, 14 Sep 2024 15:06:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=DTPk+Q/V6Xfnz6mBGX/7MUVwgpe2kCVxWCrraUpNR4E=; b=LgifR9bIO2QVVOVgL53b RrgbPnJezbinlScCSSIfKkW5nRXp2zh+cqSZZC1a8dWsFCAg1MOc2Rb39/6inKx7eDUF+DS6821aR Pt1unpRnjfiNsDov8g09k4lfGCuCDiuSBpLA6ZW/wu0wpLxd5ekpvODPiBsFwtD/LEL1x4Jr80D/E YIjFpUyeksoO1085fRh7JQCuCZrgc4RGbJJ1R7hlpehXDGV5R77mLQIiLPBPPYl9YFOPLeTRr5xe3 hzAq02eyuXUFb1tvplAxmkuO5FNDp1JixSU9Vn2P+V025un+P1jdMcBEbBmTlT0fis3Ar8/LDmTRM x0aewAb9QWpLfg==; Date: Sat, 14 Sep 2024 22:06:29 +0300 Message-Id: <86zfoadphm.fsf@gnu.org> From: Eli Zaretskii To: Yuan Fu In-Reply-To: (message from Yuan Fu on Sat, 14 Sep 2024 11:11:19 -0700) Subject: Re: bug#73191: Acknowledgement (30.0.91; missing some keywords in c++-ts-mode) References: <87o74tmldd.fsf@qq.com> <86cyl6h7of.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73191 Cc: yang.yingchao@qq.com, 73191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Yuan Fu > Date: Sat, 14 Sep 2024 11:11:19 -0700 > Cc: Yang Yingchao , > 73191-done@debbugs.gnu.org > > > Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 677 "[\"_Atomic\" \"break\" \"case\" \"const\" \"continue\" \"default\" \"do\" \"else\" \"enum\" \"extern\" \"for\" \"goto\" \"if\" \"inline\" \"register\" \"restrict\" \"return\" \"sizeof\" \"static\" \"struct\" \"switch\" \"typedef\" \"union\" \"volatile\" \"while\" \"and\" \"and_eq\" \"bitand\" \"bitor\" \"catch\" \"class\" \"co_await\" \"co_return\" \"co_yield\" \"compl\" \"concept\" \"consteval\" \"constexpr\" \"constinit\" \"decltype\" \"delete\" \"explicit\" \"final\" \"friend\" \"mutable\" \"namespace\" \"new\" \"noexcept\" \"not\" \"not_eq\" \"operator\" \"or\" \"or_eq\" \"override\" \"private\" \"protected\" \"public\" \"requires\" \"template\" \"throw\" \"try\" \"typename\" \"using\" \"xor\" \"xor_eq\"] @font-lock-keyword-face (auto) @font-lock-keyword-face (this) @font-lock-keyword-face (virtual) @font-lock-keyword-face" "Debug the query with `treesit-query-validate'") > > > > Could you please look at this and fix it ASAP, since this is affecting > > the release branch? > > > > TIA > > Yeah, sorry that I missed this report. And lol, tree-sitter-cpp changed “virtual” to (virtual) in May and then changed it back a few days ago. > > I added “thread_local" keyword and added logic to use (virtual) or “virtual” depending on the grammar. Thanks. From unknown Sun Jun 15 08:19:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Oct 2024 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator