From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#75226: [31.0.50] C++ ts-mode missing "alignof" as keyword Date: Wed, 8 Jan 2025 19:12:06 +0200 Message-ID: <41ab2547-80c4-4a62-88dc-fd4fcaf550e6@gutov.dev> 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> <43399C53-8860-43D1-A319-B3DE2885592E@gmail.com> <867c754gi9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32879"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Yuan Fu , 75226@debbugs.gnu.org, jacob.fai@gmail.com To: Alan Mackenzie , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 18:13:29 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 1tVZcW-0008M6-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 18:13:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVZc9-00061N-AH; Wed, 08 Jan 2025 12:13:05 -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 1tVZc6-00060m-O0 for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 12:13: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 1tVZc6-0002dw-ER for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 12:13:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=97GN14GaC4qmw8C8UgLIY7WvWF7JXBQ6IPmukQi3l4k=; b=GvZIqGnOMoYgfl6mbe5EEse/sqGOeMoXCaJ35oOutXGyOAh1TFBaYjz3CEmCZh2Yc2rSrufWrn+Sr7MooZmhMt2dODqPZwTJm5xe11aETzTEUSvy8I/Oy1rhrVtk+3AwOfkVcLRRsu3W33MrfV0vy7eZ67Y+4To1OhDOf1rEMoZEGOkEZVwlwjA2bIQv0RYMzesuPEYZhow8KVi2y7t6UUZxYUwlXm9XkBG5smCH46TwwkKhaAscO3x74fTsz1hW346L2Hyu8cOIpsER99mw4hfz6jExvrqDzrpBrmtlBSIdmbiuchYS464akBYyTnulVxUIlllSnaGq+YxTe03ZBg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVZc5-00062P-Su for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 12:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jan 2025 17:13: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.173635634523139 (code B ref 75226); Wed, 08 Jan 2025 17:13:01 +0000 Original-Received: (at 75226) by debbugs.gnu.org; 8 Jan 2025 17:12:25 +0000 Original-Received: from localhost ([127.0.0.1]:48697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVZbV-000619-65 for submit@debbugs.gnu.org; Wed, 08 Jan 2025 12:12:25 -0500 Original-Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]:36179) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVZbN-00060k-LH for 75226@debbugs.gnu.org; Wed, 08 Jan 2025 12:12:22 -0500 Original-Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 774C4114010B; Wed, 8 Jan 2025 12:12:11 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 08 Jan 2025 12:12:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1736356331; x=1736442731; bh=97GN14GaC4qmw8C8UgLIY7WvWF7JXBQ6IPmukQi3l4k=; b= S8yFzWmPPJ6y/8zd7Uam2Z6Y35X3UE4V96rsVpDq/KOpWu0lp534VKA1uxGJgcbc JQfu3HCHwfdiY2KiOXRf1G8VNpx4tGXZizQuRggh88EEH/84TQRY+EsLH0CNHhaU dyXnEOgK695N+HjmTiGNSiXas3S+xrM0KjGfslk7t0yaObY7tESQhqZmY5TLN88D qyva/DsBtoF1OBF10BGmXnhcRoAZMyIGhoT7KvPIHxWhWYa6BmXPEROX6JzVQWEF oAsG/Bc0MDh2auZizeHTdaB5qr8hml1MD2uI6F4USTJvTm2pXUO4hCIVN0496DqL PN6P3BuiSYFfQ8/neSWevg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736356331; x= 1736442731; bh=97GN14GaC4qmw8C8UgLIY7WvWF7JXBQ6IPmukQi3l4k=; b=i JDgn5saiyOKvOI1Jn793swX1x/mKv/wBWs8KUuaUkj9ELKRQbLMb26RqnS/ZR9En /OWVC4N9tMfKD6iyUqRH8mT8yEg3901EER17oMC6KC8SuWaS9r7ZC3zOIsxAhEvC 1OfFBC4VvMypYDD+gd0ZJ4CCtp0f8gVqePz/MlDj0MbMA5vUsUmlzE0IDB6zhLzX HBPr6QLiCZrtE40tJdr7XA2T/5lSvg8d5cAVOxoPP+ObKtjoR8zinjbs7KBcVobz 1vnE1pro2mwAdSfB54R45ppIjA3QerguV3ZNHCygItWdOGwvda9u2dcAtWgt7+pD qpXacZQDLyNCl/BrWp+GQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudeggedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrtghmsehmuhgtrdguvgdprh gtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopegtrghsohhurhhisehg mhgrihhlrdgtohhmpdhrtghpthhtohepjeehvddvieesuggvsggsuhhgshdrghhnuhdroh hrghdprhgtphhtthhopehjrggtohgsrdhfrghisehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Jan 2025 12:12:08 -0500 (EST) Content-Language: en-US In-Reply-To: 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:298788 Archived-At: On 08/01/2025 16:49, Alan Mackenzie wrote: >>> 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? >> What do other editors do? >> Alan, WDYT about this? > For me personally, another face for "alphabetic operators" would > come dangerously close to angry fruit salad. One of the benefits of the current setup is that font-lock-operator-face by default just inherits the attributes from the 'default' face. But custom themes (and individual users) can add distinction by customizing this face.