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#75226: [31.0.50] C++ ts-mode missing "alignof" as keyword Date: Wed, 1 Jan 2025 19:28:35 -0800 Message-ID: References: <7F2C7BC4-F609-4C59-BF1D-BAE12F10CFFE@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26707"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75226@debbugs.gnu.org To: Jacob Faibussowitsch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 04:29:35 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 1tTBtu-0006nA-T9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 04:29:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTBtR-0005PI-Rl; Wed, 01 Jan 2025 22:29: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 1tTBtP-0005Oj-GD for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 22:29:03 -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 1tTBtP-0001SX-7x for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 22:29:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=mPByHZ7fgvT03VoLYRrCsSLRVFI2kk5mYUH9C+SsmLM=; b=gfdm26WAPt2K5uiHfqrfe22c3grPly3MonnldQzFc5TPh/XfznY/evk1F8EMvw0h0x2YKdJYkOJy9gdIEzcPAtpdtp0H6JbiWOiYYGeH1IMFHUDTBn0Cstxsp8V2xStsiy7sb2uRebw4qkJe/YEZO6rB9TewXRP1wUbvfGLlm3+iw4td4tKy0kRXfxNaq+I7pE/yCNC1/GfRIQ92ntGQqrUFJJR3QHOM6c2/g971QwQKoi90lc6xFdjrhpgBPHFnRiUu1gvyhPJlDq2f6MeuOsle/368N5iuIF5XPfTKEtTuV2sA7EyOAUpTKqRf2uWuuoKSxcqpzvPXPb6Q5Ygovw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTBtO-0006Zm-Sr for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 22:29: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: Thu, 02 Jan 2025 03:29:02 +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.173578853625255 (code B ref 75226); Thu, 02 Jan 2025 03:29:02 +0000 Original-Received: (at 75226) by debbugs.gnu.org; 2 Jan 2025 03:28:56 +0000 Original-Received: from localhost ([127.0.0.1]:41681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTBtI-0006ZH-4G for submit@debbugs.gnu.org; Wed, 01 Jan 2025 22:28:56 -0500 Original-Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:57771) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTBtF-0006Yy-RB for 75226@debbugs.gnu.org; Wed, 01 Jan 2025 22:28:54 -0500 Original-Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2ee9a780de4so11082199a91.3 for <75226@debbugs.gnu.org>; Wed, 01 Jan 2025 19:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735788527; x=1736393327; 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=mPByHZ7fgvT03VoLYRrCsSLRVFI2kk5mYUH9C+SsmLM=; b=GdHea3mA55n1VnDClRg2UzAzgWvTBUzgN+ZrLNtvYtfbeAxGVnF0L9wm9gzjWh3w/C 8TMZyRd/EMmeG6sYlSkF1zYZ5cOFVINbOwiSvyKalzmcXnF+lJL+IPAKwWb26jN5Usl2 1w1VyzJuDZtNjMrCNHE1kT4RsmvGff92Rk0Hv4gUvezxk/IS/uTYQECDw6U8zk1jLUPo e0GEYnussZFCikgWktDKPERi9lklTyPyggKAipnfYI9TMOPLTZrI7FbftI2i3bCX5/y2 sGMczL9pvtoGuljPwWK0/NU8YjsJrwtejjvdtbqCo2/qnVrTkeF2HR65nkVVNfpeXBkv LAFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735788527; x=1736393327; 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=mPByHZ7fgvT03VoLYRrCsSLRVFI2kk5mYUH9C+SsmLM=; b=WrDFYeQDCTdiqe685CrcS5m/hUcPmK7+LdEhjem8v6tbqWUpS4Tf0xH/Tis4D1dGLN +q4PRR0YBGLXo/MiEDSNN6rwV0V+/XXEC+zFVCJSmL7V7fYBD8n5vDC4dTcVNPlB2rIt ZhjzJBVRuG00yJJwHTNTXPSHUckWqeNB0Sj8PTNaB0/GmBmYWF4nTfT4d4PKYmd5vUXK leoNLiLmRGaSs/wX/cmy+u91vTgcKzA+OaO+rrYOE6TTuMIZjgUnFK35qDFkl9tObs91 GEmf4z/E4ndKMWMy5TGWh/iEzH9bm5HbFrejkIMKxjDJIFlYoNwyrhFeRAobZqRsgZxQ fAKQ== X-Gm-Message-State: AOJu0YzFGA6WijFxmnRubS9+ypfL4wOJdOyawPDHOQnvVw/BIWLNbi0M 6lKsw2m/C5uLokeyI2jaDZie45+APLCAnudtTkbI2tEQcppUDgrZUZuOKA== X-Gm-Gg: ASbGncv0DWtnu9m5rXJNYUpoYtHI5ePP6+CfCWL1iShGuFFzXI07U8ioUx/YtWw8q1F xtcOXIVHXIGMHXKRkgR1LuFrN3uJVzZVmIk5hwpM8VPwQD/tFNtVLrqm6oUHwnAsNwkvxs6mmJN yKLNebNSO3re+NUm/5wtgahnlSm8HBzA5K7bhOhNnaveMoBYRu6AC+q8vhvmiUXeRUjIEVM2XNa y5fF+bhlf17ZLY3Kbb56Zj6nZJ4ABMOy0tv8v0CaSia/+1tYIhC2yLwQKIlQLcD+T9kresqOVhE QLps X-Google-Smtp-Source: AGHT+IEeBDT7Rk0Oj8GOFsEVd8dJqModeiBnMRnvHriwFnmS0elGqBVxxf/Q3pj80+mdKkBgIHct+g== X-Received: by 2002:a17:90b:2dc3:b0:2ee:94d1:7a89 with SMTP id 98e67ed59e1d1-2f452dfcc91mr63656899a91.1.1735788527558; Wed, 01 Jan 2025 19:28:47 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:85eb:71bd:58ac:56a8]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc96294bsm217107725ad.36.2025.01.01.19.28.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jan 2025 19:28:46 -0800 (PST) In-Reply-To: <7F2C7BC4-F609-4C59-BF1D-BAE12F10CFFE@gmail.com> X-Mailer: Apple Mail (2.3776.700.51) 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:298109 Archived-At: > On Dec 31, 2024, at 8:01=E2=80=AFAM, Jacob Faibussowitsch = wrote: >=20 > C++ ts-mode is missing =E2=80=9Calignof=E2=80=9D as a builtin keyword = like sizeof. >=20 > Best Regards, >=20 > Jacob Faibussowitsch > (Jacob Fai - booss - oh - vitch) >=20 Thanks for reporting this. It seems tree-sitter-c/cpp supports = '__alignof__', '__alignof', '_alignof', 'alignof', =E2=80=98_Alignof=E2=80= =99, 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=E2=80=99s 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? [1] = https://github.com/tree-sitter/tree-sitter-c/commit/8e919ab298b6e4d05ee29b= 10482de4fcfb075074 Yuan=