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#69293: 30.0.50; cc-mode doesn't support "if consteval" Date: Thu, 22 Feb 2024 15:18:28 +0200 Message-ID: <86zfvs1vtn.fsf@gnu.org> References: <877ciyga48.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7215"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69293@debbugs.gnu.org To: Herman@debbugs.gnu.org, =?UTF-8?Q?G=C3=A9za?= , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 22 15:32:57 2024 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 1rdA89-0001d2-C4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Feb 2024 15:32:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdA7w-00006v-W9; Thu, 22 Feb 2024 09:32:45 -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 1rdA7u-00006B-4h for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 09:32:42 -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 1rdA7t-0007JB-S9 for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 09:32:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdA8G-0006Xy-Nx for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 09:33:04 -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, 22 Feb 2024 14:33:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69293 X-GNU-PR-Package: emacs Original-Received: via spool by 69293-submit@debbugs.gnu.org id=B69293.170861238225138 (code B ref 69293); Thu, 22 Feb 2024 14:33:04 +0000 Original-Received: (at 69293) by debbugs.gnu.org; 22 Feb 2024 14:33:02 +0000 Original-Received: from localhost ([127.0.0.1]:58526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdA8D-0006XD-5y for submit@debbugs.gnu.org; Thu, 22 Feb 2024 09:33:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdA88-0006W2-GL for 69293@debbugs.gnu.org; Thu, 22 Feb 2024 09:32:56 -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 1rd8y8-0001kr-4Z; Thu, 22 Feb 2024 08:18:32 -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=R0RM0pof4wddhbRjoQ2I9vqVFN32a7YlRKrbHrJ/SaA=; b=rfg1doXK0oaBsAOaT9Y3 cf23mtF8V77u333H3NbWNzdbmoijLN3yJwopAzdjjiwmIxRSpireGSeG04rBXoPtSQP5dP+iI2auJ XsAKigw5yYX3T2aPv2ILdyKajRB9Urq2/2Oh8nAQvMqiiD+afpZj5luUt9Gm0hQwaT+6O3CNpQlt4 sBdTiAXggMx4LoiILPKOCO+Pm8NebJ6i6FGyPt6vbcMgNteq5Kls7kz1yYZBpIR7QJZ58nmZRlnnX tfWDINgIx+fiCprW/g0IXkMvdQ2Th7ygxt7zTzC4uhdht11bWTYWptVJ+axoa9nBFSWoAnbt5TZbv iz9/Ux7a1et/fQ==; In-Reply-To: <877ciyga48.fsf@gmail.com> (Herman@debbugs.gnu.org) 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:280453 Archived-At: > From: Herman@debbugs.gnu.org, Géza > Date: Tue, 20 Feb 2024 21:21:27 +0100 > > > C++ has a new feature, "if consteval". So one can write code like > > if consteval { > // do something > } else { > // do something else > } > > The problem is that cc-mode doesn't recognize this construct, lines > are not indented correctly: the "// do something" and the "} else {" > receive an additional level of indentation. Alan, could you please look into this?