From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#40658: Fforward-comment: Incorrect recognition of end of comment in C++ Date: Thu, 16 Apr 2020 17:29:23 +0000 Message-ID: <20200416172923.GB5235@ACM> References: <20200416124426.GA5328@ACM> <83lfmveep9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="60291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 40658@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 16 19:30:21 2020 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 1jP8LF-000FZO-1L for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 19:30:21 +0200 Original-Received: from localhost ([::1]:37434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8LD-0002wC-OL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Apr 2020 13:30:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37740) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8L5-0002te-8U for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 13:30:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP8Kw-0000n7-Ku for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 13:30:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP8Kw-0000mv-5i for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 13:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP8Kw-00085E-2C for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2020 13:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Apr 2020 17:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40658 X-GNU-PR-Package: emacs Original-Received: via spool by 40658-submit@debbugs.gnu.org id=B40658.158705816830997 (code B ref 40658); Thu, 16 Apr 2020 17:30:02 +0000 Original-Received: (at 40658) by debbugs.gnu.org; 16 Apr 2020 17:29:28 +0000 Original-Received: from localhost ([127.0.0.1]:39308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jP8KO-00083t-6v for submit@debbugs.gnu.org; Thu, 16 Apr 2020 13:29:28 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:22530 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1jP8KM-00083e-Eu for 40658@debbugs.gnu.org; Thu, 16 Apr 2020 13:29:27 -0400 Original-Received: (qmail 43770 invoked by uid 3782); 16 Apr 2020 17:29:24 -0000 Original-Received: from acm.muc.de (p4FE15C1F.dip0.t-ipconnect.de [79.225.92.31]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Thu, 16 Apr 2020 19:29:23 +0200 Original-Received: (qmail 8757 invoked by uid 1000); 16 Apr 2020 17:29:23 -0000 Content-Disposition: inline In-Reply-To: <83lfmveep9.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:178466 Archived-At: Hello, Eli. On Thu, Apr 16, 2020 at 16:35:14 +0300, Eli Zaretskii wrote: > > Date: Thu, 16 Apr 2020 12:44:26 +0000 > > From: Alan Mackenzie > > Cc: Stefan Monnier > > This should clearly go into the master branch. I think it should also go > > into the emacs-27 release branch, since it is relevant for a nasty bug, > > bug #40052. > Sorry, too late for that now. This code is there for the last 20+ > years, we can endure that a bit more, I think. OK, I've committed the patch to master. The code, in effect, just dates from 2015, when I added support for escaped EOLs in comments. I will put some workaround into CC Mode (which I would have to have done anyway). -- Alan Mackenzie (Nuremberg, Germany).