From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#18134: 24.3; Doxygen comments trigger anomalous C++ major mode behavior Date: Sun, 20 Oct 2019 17:04:15 +0000 Message-ID: <20191020170415.GA7284@ACM> References: <87ppgpiraa.fsf@octopus.email-scan.com> <20191019161305.GB7911@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="4926"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 18134-done@debbugs.gnu.org, Sam Varshavchik To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 19:05:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMEdn-00018Y-CI for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 19:05:15 +0200 Original-Received: from localhost ([::1]:41310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMEdl-00069G-G2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 13:05:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36200) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMEdd-00068x-36 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 13:05:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMEdc-0006YO-3Z for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 13:05:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46387) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMEda-0006Xl-Dt; Sun, 20 Oct 2019 13:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMEda-0007p2-7a; Sun, 20 Oct 2019 13:05:02 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 20 Oct 2019 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 18134 X-GNU-PR-Package: emacs,cc-mode Mail-Followup-To: 18134@debbugs.gnu.org, acm@muc.de, sam.varshavchik@gmail.com Original-Received: via spool by 18134-done@debbugs.gnu.org id=D18134.157159106730018 (code D ref 18134); Sun, 20 Oct 2019 17:05:01 +0000 Original-Received: (at 18134-done) by debbugs.gnu.org; 20 Oct 2019 17:04:27 +0000 Original-Received: from localhost ([127.0.0.1]:55206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMEd0-0007o6-M5 for submit@debbugs.gnu.org; Sun, 20 Oct 2019 13:04:26 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:56063 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iMEcy-0007nx-C7 for 18134-done@debbugs.gnu.org; Sun, 20 Oct 2019 13:04:25 -0400 Original-Received: (qmail 39889 invoked by uid 3782); 20 Oct 2019 17:04:22 -0000 Original-Received: from acm.muc.de (p4FE15F91.dip0.t-ipconnect.de [79.225.95.145]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 20 Oct 2019 19:04:19 +0200 Original-Received: (qmail 4935 invoked by uid 1000); 20 Oct 2019 17:04:15 -0000 Content-Disposition: inline In-Reply-To: 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169840 Archived-At: Hello, Stefan and Sam. On Sun, Oct 20, 2019 at 15:36:23 +0200, Stefan Kangas wrote: > Hi Alan, > Alan Mackenzie writes: > > Yes. Some optimisation is needed in c-crosses-statement-barrier-p for > > large blocks of comments. Please try out this patch, and let me know if > > anything untoward happens: > I've now tried the patch, and it fixes both the slow editing and the > indentation. I don't code much C++ these days, so I didn't test it > much beyond that. > Thanks for providing a fix. Thanks for the quick test. I've now committed the fix to master, and I'm closing the bug with this post. > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany).