From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#18134: 24.3; Doxygen comments trigger anomalous C++ major mode behavior Date: Sun, 20 Oct 2019 15:36:23 +0200 Message-ID: References: <87ppgpiraa.fsf@octopus.email-scan.com> <20191019161305.GB7911@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="216206"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 18134@debbugs.gnu.org, Sam Varshavchik To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 15:37:16 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 1iMBOV-000u35-Uc for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 15:37:16 +0200 Original-Received: from localhost ([::1]:35022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMBOT-0005vP-PV for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 09:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMBOI-0005re-RF for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 09:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMBOH-0003YL-S9 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 09:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMBOH-0003YE-P9; Sun, 20 Oct 2019 09:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMBOH-0006oo-Kf; Sun, 20 Oct 2019 09:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 20 Oct 2019 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18134 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 18134-submit@debbugs.gnu.org id=B18134.157157860226181 (code B ref 18134); Sun, 20 Oct 2019 13:37:01 +0000 Original-Received: (at 18134) by debbugs.gnu.org; 20 Oct 2019 13:36:42 +0000 Original-Received: from localhost ([127.0.0.1]:54069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMBNy-0006oD-9H for submit@debbugs.gnu.org; Sun, 20 Oct 2019 09:36:42 -0400 Original-Received: from mail-pg1-f179.google.com ([209.85.215.179]:42949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMBNv-0006o0-UN for 18134@debbugs.gnu.org; Sun, 20 Oct 2019 09:36:40 -0400 Original-Received: by mail-pg1-f179.google.com with SMTP id f14so5991374pgi.9 for <18134@debbugs.gnu.org>; Sun, 20 Oct 2019 06:36:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5+RlOrVCFFmfRmjX+kwDwE9lhs/GxvDl1YiGpww8ujw=; b=sK1yFDyjJ7t/kicsDj4fsJ/dESEPQFKKWrMU2wuHDtiWeLmtS53CHooIvSE2PPuX5S o8oVntj3j4f79ib58QVAfh8Cstg0XDYCyCkNfuEfSYOWyIDV7YfjhnKXmpKOrWNOaq98 LZWTQqxifTMom5wTBwQItzDFOERie9x7C7ixwmYbgvsjYsxlqEpbRlguWbe5yeprHumX HcQP1GD9Vjah8C4RkWGPdDbUt6JZ2rmytC8I7vMgod2At1oYcgEzgBh08UlNcbOK5w3C mmJK5UD6uNpiIjy1DhSQOBboKL8PnFqpm+E5HfCnOnZ5Xyp5K4ZcAs06gmQTstnUE4Ck 5Y0g== X-Gm-Message-State: APjAAAVHm/9ZzahA4cxGZAoFfxQa8bX/NvmDYYL+CJN/hTaJ2DcMkKpa 6zsaY5D/qcBaDUtPCLkHywFY+guSs96TYi+ABOU= X-Google-Smtp-Source: APXvYqyO8jx7gOE99HhYhb7SYysBjUis+jDcIrJXrErBTQML0FsRqEJ32/EIQRbW9BUKlNL48luBJNfuQ1fUaCVfcX4= X-Received: by 2002:a63:4046:: with SMTP id n67mr18883402pga.200.1571578594134; Sun, 20 Oct 2019 06:36:34 -0700 (PDT) In-Reply-To: <20191019161305.GB7911@ACM> 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:169811 Archived-At: 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. Best regards, Stefan Kangas