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#75226: [31.0.50] C++ ts-mode missing "alignof" as keyword Date: Thu, 02 Jan 2025 08:41:34 +0200 Message-ID: <86ed1llntt.fsf@gnu.org> References: <7F2C7BC4-F609-4C59-BF1D-BAE12F10CFFE@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21922"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75226@debbugs.gnu.org, jacob.fai@gmail.com To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 07:42:17 2025 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 1tTEuP-0005Zs-9O for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 07:42:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTEuD-0008Vr-T9; Thu, 02 Jan 2025 01:42:06 -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 1tTEuB-0008Va-Si for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 01:42:04 -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 1tTEuB-0003d1-GJ for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 01:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=Hv2efj07ldiV7aaT9iLe+Wlh0X487EfEK+x8AFWhGFk=; b=EaGj+gbfZoLaxMRRuginV1OTRHWv5ciDmBgW0J6mo2DC3pdabogDPZFAvaCYPh+xRhro19D9xswI1wS094A2GrRb2qb1XbGDwxMXW/MOJl5R9C2MoXbPoLx+ddlSrtleORkxd8FC/SaVFEqYTIINPtKgLyyClOZ5ol0f//H7+d6Er80Wun3ODV0lfiDGQmvWJ4UJ9mgeDrs2z7qKKkyRDczf9q3VC+nG6XscjF9JZ1VWd9KQ5s84QcuApHAIVAR56lclF047BQiTkpLzROJgsudH62W7jKSmZO13DSiFxPTZsKpmOu1yp2P5+4m3ch3amCu6mg8VXRw79PmrrtEkvw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTEu9-0007dU-Vq for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 01:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 06:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75226 X-GNU-PR-Package: emacs Original-Received: via spool by 75226-submit@debbugs.gnu.org id=B75226.173580010629329 (code B ref 75226); Thu, 02 Jan 2025 06:42:01 +0000 Original-Received: (at 75226) by debbugs.gnu.org; 2 Jan 2025 06:41:46 +0000 Original-Received: from localhost ([127.0.0.1]:42469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTEtt-0007cz-SI for submit@debbugs.gnu.org; Thu, 02 Jan 2025 01:41:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44532) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTEtq-0007cm-NT for 75226@debbugs.gnu.org; Thu, 02 Jan 2025 01:41:44 -0500 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 1tTEtl-0003I6-4c; Thu, 02 Jan 2025 01:41:37 -0500 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=Hv2efj07ldiV7aaT9iLe+Wlh0X487EfEK+x8AFWhGFk=; b=dgzRePvR6xc0WwyZJloC SShpmRyD/K4/qXpruR9R+71KKNNUWqZlNao9/f+vPxDh3sxi+5X6b4AUtbGf2gl9eJYI5Hu/SilN6 lTbOhaLFmYJHQP/VFAdGPR8fc2JJQgR5ITRKU3A+Ecsl+SZp6mu7/t1SkwSpzzBmCajt4p3w/KIz5 MJKBJ86nC5P+tHTy0BJA6/0ksQ3R7mGKjK2DUPB9ga3F56RUz/883Wo83BruMWRQz4uYybZNHSLOA 4irh7ZnM5eILt4diDJZFW1otj0Jw7xjnoc2pHADErqZs0WZy6XLPN4ajqUxDI/wDtqkDPbA+FFnP1 Ulz0FL55GmCl9w==; In-Reply-To: (message from Yuan Fu on Wed, 1 Jan 2025 19:28:35 -0800) 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:298129 Archived-At: > Cc: 75226@debbugs.gnu.org > From: Yuan Fu > Date: Wed, 1 Jan 2025 19:28:35 -0800 > > > > > On Dec 31, 2024, at 8:01 AM, Jacob Faibussowitsch wrote: > > > > C++ ts-mode is missing “alignof” as a builtin keyword like sizeof. > > > > Best Regards, > > > > Jacob Faibussowitsch > > (Jacob Fai - booss - oh - vitch) > > > > Thanks for reporting this. It seems tree-sitter-c/cpp supports '__alignof__', '__alignof', '_alignof', 'alignof', ‘_Alignof’, I can add all of them as keywords. The feature is added in tree-sitter-c in Aug 9, 2023 [1], and appears in v0.20.5. > > Eli, what’s the status of Emacs 30 right now? Can I push to emacs-30 and have this change queued for Emacs 30.2? Or should I wait a bit? If this just adds a bunch of strings to c-ts-mode--keywords, it's okay to add them on emacs-30. Thanks.