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: Tue, 7 Jan 2025 19:09:40 -0800 Message-ID: <43399C53-8860-43D1-A319-B3DE2885592E@gmail.com> References: <7F2C7BC4-F609-4C59-BF1D-BAE12F10CFFE@gmail.com> <86ed1llntt.fsf@gnu.org> <95EAF964-0C9F-4719-8AF0-4F9912C9FC8B@gmail.com> <86seq0gm9m.fsf@gnu.org> <1736D702-1BC1-4DF6-967C-052D9E446677@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="23200"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75226@debbugs.gnu.org, Jacob Faibussowitsch To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 04:11:20 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 1tVMTX-0005tR-Rg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 04:11:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVMTI-0004Ng-32; Tue, 07 Jan 2025 22:11:04 -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 1tVMTG-0004NY-T9 for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 22:11:02 -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 1tVMTG-0003ue-EI for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 22:11:02 -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=j0q1Ih++gegAiUmB6g+yVOKQHmILbWCz73Sj/KWGpIo=; b=AgNv2jzlxu1oEMFCQfWDkrXTu5GIEkj4xwvidi1IItcD9BCjj4sRqOL0o8NY/egTXyerjt3A+kVuNZJ8+a4fMjOw963p1K1KW8Sg8L8DUk1wzEdb2XYNOmCB4RdvsHsafiH7Fi7h+322B9ndWGIgv1lqdQfd6qgNq8Uyn7Dk1wrAJfTZwfMwxn+xh7fMXOjhdsVOpqhgfgBzJgOF4CWAmqU1wt7cqx/D+s8Ih0sAidYUl1f3gY9lJvidxJ0wZjqMt9rnj7AQyqU6gelOP6NdCDLoUN80GoXyt9oId4WwGVryloGJ/dX7lA8G2r87z3Np4mbFrI8ADVo4QoTmY3hCZg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVMTG-0008Ep-8k for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 22:11: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: Wed, 08 Jan 2025 03:11: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.173630580231221 (code B ref 75226); Wed, 08 Jan 2025 03:11:02 +0000 Original-Received: (at 75226) by debbugs.gnu.org; 8 Jan 2025 03:10:02 +0000 Original-Received: from localhost ([127.0.0.1]:45444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVMSH-00087K-7l for submit@debbugs.gnu.org; Tue, 07 Jan 2025 22:10:01 -0500 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:42495) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVMSE-000873-6L for 75226@debbugs.gnu.org; Tue, 07 Jan 2025 22:09:58 -0500 Original-Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2167141dfa1so7221955ad.1 for <75226@debbugs.gnu.org>; Tue, 07 Jan 2025 19:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736305792; x=1736910592; 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=j0q1Ih++gegAiUmB6g+yVOKQHmILbWCz73Sj/KWGpIo=; b=IFXihG7Udrtrcn8ngErOdOgXHu1Y8ckcq+sMmGDazP5rKj4UcnZQLUkrR2PuULn/FI AXy0yzQyzzRPc5XEyZkgZlzhAhx98i4t2cpv2b076gaIQSmaUtjqBLsO501DAeA3IKPy MaIVT0qqdmzYkkOtd/UAy1Xsn/pd8DsShcwEk4SfyFLyjxy40eQPqG61Sd2s7JXW1s6y fVQEJ0tij2NDc3SLE1M0CqvurZNXjA6WBu/yMq1EMHVdjPI2/FiSPsp1eO5x3vIkfA2g NE11VhF4HqHU5t2zOWmbA6+s8W96FMEeK26HNceZIoHdrY64ClsnaZjplh7S0+elo1Gp x7Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736305792; x=1736910592; 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=j0q1Ih++gegAiUmB6g+yVOKQHmILbWCz73Sj/KWGpIo=; b=mfEPjTZKhRg/044DhYw8iCvOm7bvibyVbUZathxC4vVLguYriL4Engma0J/a91sFDa ClR2zQye2KyGx6iwHxZHkijYQcfOmRssAPfR5SjKznsaL8i2fIe7oWoMWS2s/s0dRgvF n7ye8nN22hxVXNJcLGQ0GVy/tyPe1KdK+sg036++R6vcwLzjFVX4SMZD0kZbGDgSKD+J ORytytOBu4c3+Qb/mOC9lUHVyA45PT1ZvKxMzY7hNSnvbdmtCGGRmCSUItX6Ss04xDeM vRJxnLEs7KTP98qAOGuBZ4q6gL645ttEZhTczYvN9AnKfH86qkJDlkCbM0KAca5VehaG a9uA== X-Forwarded-Encrypted: i=1; AJvYcCWr/v013W+DfOsDZ9EoRjWbD+d+6t3O+PjbpbB85tDCak7BJLsutmofETYZSS0SuOrme+WIow==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyre+DCnYciGzzMw9S9yKDQK7X+RldoD2p7xR9IeBVV+FoGqSYJ JEhgdd2BuQvIHl7fKZ7dlQ0pEwX8xgjdNwewxbF4sWMgb4WkEvMd X-Gm-Gg: ASbGncvKy/Hb3W3JMJFb7q5Ea3gniad3MZ5Afk4RjPvVpFL+0k08qsVxuRkQAUfYbjV xxwrLzDU1+Fs5PZ320AtykhMefuQG27x70zff77bxtQ0bm/dQmu6DUxcwIwHjO9AdZQu2IurboL 777S0wCs0fDxIuWzwkXIS6aaFXSj03PwY6Q2D1A8XtIt6xM9WQXsOGRFK7q/TZETMNjR2JJTd57 hUuIrlvEgulae2PDMKIRRSm+C0qC8vQUAU/yFqogzuE1hri23TMH0H4INQxtpq+bwa4W681qhyT iyMM X-Google-Smtp-Source: AGHT+IGY6aeEkl5YyvFCfQSTe4Oaw4cgdYZDsr2KrOsPoLSubD/i21d8Z3dyn4HueIKDIKrA6lVqpg== X-Received: by 2002:a17:902:f544:b0:216:4b6f:dde5 with SMTP id d9443c01a7336-21a7a201991mr68578135ad.13.1736305792108; Tue, 07 Jan 2025 19:09:52 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:715c:1de9:341d:f41d]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc9f68a6sm316881525ad.212.2025.01.07.19.09.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jan 2025 19:09:51 -0800 (PST) In-Reply-To: <1736D702-1BC1-4DF6-967C-052D9E446677@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:298755 Archived-At: > On Jan 3, 2025, at 11:34=E2=80=AFPM, Yuan Fu = wrote: >=20 >=20 >=20 >> On Jan 3, 2025, at 3:38=E2=80=AFAM, Eli Zaretskii = wrote: >>=20 >>> From: Yuan Fu >>> Date: Fri, 3 Jan 2025 00:50:46 -0800 >>> Cc: Jacob Faibussowitsch , >>> 75226@debbugs.gnu.org >>>=20 >>>> On Jan 1, 2025, at 10:41=E2=80=AFPM, Eli Zaretskii = wrote: >>>>=20 >>>>> 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? >>>>=20 >>>> If this just adds a bunch of strings to c-ts-mode--keywords, it's = okay >>>> to add them on emacs-30. >>>=20 >>> Not quite, right now emacs-30=E2=80=99s c-ts-mode works with grammar = as far back as v0.19.0 [1]. If we just add the keywords, c-ts-mode = wouldn=E2=80=99t work with grammar v0.20.4 and earlier. So I=E2=80=99m = going to add the new keywords with a check, which disables the new = keywords if grammar doesn=E2=80=99t recognize them. Also there=E2=80=99re = many missing keywords, none of which I have seen before :-), I need time = to go over them and see how are they supposed by be fontified (keyword = face or something else). >>>=20 >>> So let=E2=80=99s wait for 30.2. >>=20 >> If so, please install on master, and let's consider backporting it to >> the emacs-30 branch after 30.1 is released. >>=20 >> Thanks. >=20 > Sounds good. >=20 > Yuan I found that both c++-mode and c++-ts-mode fontifies C++ alternative = operators like and_eq, xor, etc as keywords. Maybe we should fontify = them in operator face (added in Emacs 29) instead? Yuan