From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59816: 29.0.60; c++-ts-mode handles one-line comments badly Date: Mon, 05 Dec 2022 18:07:49 +0100 Message-ID: <734CA190-781F-4C62-BED0-2355F2F7B624@thornhill.no> References: Reply-To: Theodor Thornhill Mime-Version: 1.0 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="30890"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59816@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 05 18:09:32 2022 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 1p2EyB-0007oN-UC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Dec 2022 18:09:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2Exj-0004wm-SB; Mon, 05 Dec 2022 12:09:03 -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 1p2Exi-0004uJ-8l for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 12:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2Exh-0003VF-Vx for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 12:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2Exh-0007lY-Qv for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 12:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Dec 2022 17:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59816 X-GNU-PR-Package: emacs Original-Received: via spool by 59816-submit@debbugs.gnu.org id=B59816.167026012529841 (code B ref 59816); Mon, 05 Dec 2022 17:09:01 +0000 Original-Received: (at 59816) by debbugs.gnu.org; 5 Dec 2022 17:08:45 +0000 Original-Received: from localhost ([127.0.0.1]:37261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2ExQ-0007lF-RK for submit@debbugs.gnu.org; Mon, 05 Dec 2022 12:08:45 -0500 Original-Received: from out2.migadu.com ([188.165.223.204]:27888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2ExO-0007l8-NM for 59816@debbugs.gnu.org; Mon, 05 Dec 2022 12:08:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1670260120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RuWKddpcjtExQpv2kjDFzc4vzpY5i0nJ18fJ/5PcoN8=; b=coKGJJDgmpZ53NJTKe98FMoY0wDQ6nRewgxrtS1FIdDEB3PpxN4aGBGnVD9QrBx8Anbh0w u8VymsXJBVLiyWI6QX8Z7aTI2QXkhs1ReRBilaxa6YhZ8cbO4iiZKmxqsozOY9dgHFpmbR HtwfFIxkmzvuLkufQuE2MRHzWa9mqfV/UGbujgerxLIW7K8E1Kurhiq3Jv0kRs9b/cfnOp 7zTJgT44JAaU6Y1iIozXPaO+VtiacVrPtsIwhnjdpVRq3ua/voFJ5H+t0sqdW9OOD+34sn X62C7D2fYBn+cvKgR6i6+i7gtvR7FqWkjlzqMVOGlULSLoy2mcWpBrJnOH8yHA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: X-Migadu-Flow: FLOW_OUT 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:250051 Archived-At: On 5 December 2022 17:44:14 CET, Alan Mackenzie wrote: >Hello, Theodor, > >Perhaps a little different from the original bug report, but while you're >at it, you may want to handle continued C++ line comments (I haven't >checked whether you've done this already, so apologies if so)=2E > >Here, in a comment, if the last character on the comment line is a \, >this continues the comment onto the next line=2E This backslash cannot >itself be escaped, so a comment line ending in \\ continues on to the >next line, too=2E > Do you mean fontlock-wise or syntax-wise? Maybe both? >All the best with it! > Thanks, and thanks for the tip! Theo :)