From unknown Fri Jun 20 07:13:17 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18072 <18072@debbugs.gnu.org> To: bug#18072 <18072@debbugs.gnu.org> Subject: Status: 24.3; cc-mode indentation is broken Reply-To: bug#18072 <18072@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:13:17 +0000 retitle 18072 24.3; cc-mode indentation is broken reassign 18072 emacs,cc-mode submitter 18072 Juhani =C3=85hman severity 18072 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 21 16:51:32 2014 Received: (at submit) by debbugs.gnu.org; 21 Jul 2014 20:51:32 +0000 Received: from localhost ([127.0.0.1]:33723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9KYV-0006ZL-L8 for submit@debbugs.gnu.org; Mon, 21 Jul 2014 16:51:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32913) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X9JC7-0003rV-Aa for submit@debbugs.gnu.org; Mon, 21 Jul 2014 15:24:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9JBx-0004HV-8s for submit@debbugs.gnu.org; Mon, 21 Jul 2014 15:24:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JBx-0004HP-6B for submit@debbugs.gnu.org; Mon, 21 Jul 2014 15:24:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JBs-0003XG-AP for bug-gnu-emacs@gnu.org; Mon, 21 Jul 2014 15:24:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9JBn-0004G9-DG for bug-gnu-emacs@gnu.org; Mon, 21 Jul 2014 15:24:04 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:59765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9JBm-0004Fx-Vg for bug-gnu-emacs@gnu.org; Mon, 21 Jul 2014 15:23:59 -0400 Received: by mail-la0-f53.google.com with SMTP id gl10so5001676lab.26 for ; Mon, 21 Jul 2014 12:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=HcdOaqeI53yrs26+9ispqCRp1Q8TmIa+CrwQPFQqnE4=; b=BhyTqKB1zBQ7CEECznmsiaI3knpZZDSbXlFBF8cRdixTBomVyV7VK1TJz1ELxqYRkt heJfAo5bU9mEh2mIKzeBhn8G+T8oUpsZqurvo6Ngr6OH2YXjEz4A58AOOImY9C3RUv38 VyOITm9LGproTDJsf6NTePk6DfQDW5OKEz1FKyhGvP5z0gGJyEJo1IIPnZcCSTaSkLMT LxPv17MuqfRwkWV3O5HdkowGKZUdEiuQ8MbR35Y1Lrl7a7BoNmzStLKxUZSvx67KXtjT jhrXX+bOnIIWPk9NhVcnND3OS5/xkLmYkOF66lJdxwmcieTLHGpsnfNroxPC0fQvBDct ZTbg== X-Received: by 10.112.235.42 with SMTP id uj10mr12555134lbc.80.1405970636527; Mon, 21 Jul 2014 12:23:56 -0700 (PDT) Received: from [88.112.0.20] (a88-112-0-20.elisa-laajakaista.fi. [88.112.0.20]) by mx.google.com with ESMTPSA id xl2sm26590273lbb.47.2014.07.21.12.23.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Jul 2014 12:23:55 -0700 (PDT) Message-ID: <53CD68CE.40805@gmail.com> Date: Mon, 21 Jul 2014 22:23:58 +0300 From: =?ISO-8859-1?Q?Juhani_=C5hman?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.3; cc-mode indentation is broken Content-Type: multipart/alternative; boundary="------------010103020701050007020704" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 21 Jul 2014 16:51:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a multi-part message in MIME format. --------------010103020701050007020704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I can't reliably reproduce the bug. All I can say that the auto-indentation thingymajig in cc-mode stops working at random every 5-15 minutes or so. I can get it working again by reloading the file I am editing. When the indentation is broken, pressing enter will leave no indentation space for braces and such. it looks like this if(1) { foo(); bar(); zot(); } when it should look like this if(1) { foo(); bar(); zot(); } I'm pretty sure the indentation was working in some previous version, about two years ago or so, but not in any of the newer versions of Emacs. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-06-11 on var-lib-archbuild-staging-x86_64-jgc Windowing system distributor `The X.Org Foundation', version 11.0.11502000 Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: fi_FI.UTF-8 value of $LC_CTYPE: fi_FI.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: fi_FI.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: electric-indent-mode: t cua-mode: t global-subword-mode: t subword-mode: t show-paren-mode: t global-hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x c o - m C-a C-k C-g M-x r e o p e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading /home/fzzy/.emacs.d/session.10ded9d363000140534073900000004430047...done Restored session data Making completion list... [3 times] Quit Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu electric preview-latex tex-site auto-loads cc-styles cc-align cc-engine cc-vars cc-defs bison-mode-autoloads glsl-mode-autoloads go-mode-autoloads package cua-base subword bs paren edmacro kmacro hl-line delsel server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --------------010103020701050007020704 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org. Please check that
the From: line contains a valid email address. After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. If you can, give a recipe
starting from `emacs -Q':

I can't reliably reproduce the bug.
All I can say that the auto-indentation thingymajig in cc-mode stops working at
random every 5-15 minutes or so.
I can get it working again by reloading the file I am editing.
When the indentation is broken, pressing enter will leave no indentation
space for braces and such.

it looks like this

if(1) {
foo();
bar();
zot();
}

when it should look like this

if(1) {
    foo();
    bar();
    zot();
}

I'm pretty sure the indentation was working in some previous version,
about two years ago or so, but not in any of the newer versions of Emacs.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.3/etc/DEBUG.


In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
of 2014-06-11 on var-lib-archbuild-staging-x86_64-jgc
Windowing system distributor `The X.Org Foundation', version 11.0.11502000
Configured using:
`configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
value of $LC_COLLATE: fi_FI.UTF-8
value of $LC_CTYPE: fi_FI.UTF-8
value of $LC_MESSAGES: en_US.UTF-8
value of $LC_MONETARY: fi_FI.UTF-8
value of $LC_NUMERIC: en_US.UTF-8
value of $LC_TIME: en_DK.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
electric-indent-mode: t
cua-mode: t
global-subword-mode: t
subword-mode: t
show-paren-mode: t
global-hl-line-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t

Recent input:
M-x c o - m
C-a C-k C-g M-x r e o
p e p o
r

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading /home/fzzy/.emacs.d/session.10ded9d363000140534073900000004430047...done
Restored session data
Making completion list... [3 times]
Quit
Making completion list... [2 times]

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message idna format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-mode easymenu electric preview-latex
tex-site auto-loads cc-styles cc-align cc-engine cc-vars cc-defs
bison-mode-autoloads glsl-mode-autoloads go-mode-autoloads package
cua-base subword bs paren edmacro kmacro hl-line delsel server time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)
--------------010103020701050007020704-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 06:52:12 2019 Received: (at 18072) by debbugs.gnu.org; 2 Nov 2019 10:52:12 +0000 Received: from localhost ([127.0.0.1]:58241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQr0u-0001O1-6O for submit@debbugs.gnu.org; Sat, 02 Nov 2019 06:52:12 -0400 Received: from host.gofardesign.uk ([208.79.239.190]:35819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQr0s-0001Nk-CE for 18072@debbugs.gnu.org; Sat, 02 Nov 2019 06:52:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ivDdKR5btexLxGu7tpCyn2NTDVgah6e9TJVaa+bF7Yg=; b=fpaMA08H/mg6ofBxEAX3TypQw6 XVNMmJTKSpTBsSzHvxTnMytiPhH/4oCZIg72b79d48kDlfcsQicXM4mdT02IAYxG0b2ge0w8RakE+ g1fLytLM84c2w0yheEz6TDadR5uK597W/4Bu1pAb4clchHVLJ9+YvLgk/BbMjte3VHvU=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:37062 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iQr0m-0006Wr-6C; Sat, 02 Nov 2019 05:52:04 -0500 From: Stefan Kangas To: Juhani =?utf-8?Q?=C3=85hman?= Subject: Re: 24.3; cc-mode indentation is broken In-Reply-To: <53CD68CE.40805@gmail.com> ("Juhani =?utf-8?Q?=C3=85hman=22's?= message of "Mon, 21 Jul 2014 22:23:58 +0300") References: <53CD68CE.40805@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Sat, 02 Nov 2019 11:52:02 +0100 Message-ID: <87lfsyeejx.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 18072@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juhani =C3=85hman writes: > I can't reliably reproduce the bug.=20 > All I can say that the auto-indentation thingymajig in cc-mode stops work= ing at=20 > random every 5-15 minutes or so.=20 > I can get it working again by reloading the file I am editing.=20 > When the indentation is broken, pressing enter will leave no indentation= =20 > space for braces and such.=20 > > it looks like this=20 > > if(1) {=20 > foo();=20 > bar();=20 > zot();=20 > }=20 > > when it should look like this=20 > > if(1) {=20 > foo();=20 > bar();=20 > zot();=20 > }=20 > > I'm pretty sure the indentation was working in some previous version,=20 > about two years ago or so, but not in any of the newer versions of Emacs. I'm not seeing this here. Can you reproduce this when running under "emacs -Q"? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 08:23:08 2019 Received: (at 18072) by debbugs.gnu.org; 2 Nov 2019 12:23:09 +0000 Received: from localhost ([127.0.0.1]:58300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQsQu-0001N1-9x for submit@debbugs.gnu.org; Sat, 02 Nov 2019 08:23:08 -0400 Received: from colin.muc.de ([193.149.48.1]:43720 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iQsQs-0001Mr-TG for 18072@debbugs.gnu.org; Sat, 02 Nov 2019 08:23:07 -0400 Received: (qmail 50440 invoked by uid 3782); 2 Nov 2019 12:23:05 -0000 Date: 2 Nov 2019 12:23:05 -0000 Message-ID: <20191102122305.50439.qmail@mail.muc.de> From: Alan Mackenzie To: Stefan Kangas Subject: Re: bug#18072: 24.3; cc-mode indentation is broken Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.3-RELEASE-p3 (amd64)) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 18072@debbugs.gnu.org, Juhani =?UTF-8?Q?=C3=85hman?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Stefan and Juhani. In article you wrote= : > Juhani =C3=85hman writes: >> I can't reliably reproduce the bug.=20 >> All I can say that the auto-indentation thingymajig in cc-mode stops w= orking at=20 >> random every 5-15 minutes or so.=20 >> I can get it working again by reloading the file I am editing.=20 >> When the indentation is broken, pressing enter will leave no indentati= on=20 >> space for braces and such.=20 >> >> it looks like this=20 >> >> if(1) {=20 >> foo();=20 >> bar();=20 >> zot();=20 >> }=20 >> >> when it should look like this=20 >> >> if(1) {=20 >> foo();=20 >> bar();=20 >> zot();=20 >> }=20 >> >> I'm pretty sure the indentation was working in some previous version,=20 >> about two years ago or so, but not in any of the newer versions of Ema= cs. Is this C++ Mode, by any chance? > I'm not seeing this here. Can you reproduce this when running under > "emacs -Q"? This looks like having the same cause as bug #37910 "CC Mode 5.33.2 (C++//l); CC-mode inconsistently indents everything as topmost-intro after a while". I'm pretty sure it's a defect in a particular CC Mode cache (the "state cache"), which tracks parentheses, braces, and brackets containing and near point. Somehow, it's missing the critical {, believing that foo();, etc., are at top level. A C-c C-s on that line would likely show "topmost-intro". > Best regards, > Stefan Kangas --=20 Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 10 16:13:14 2019 Received: (at 18072) by debbugs.gnu.org; 10 Nov 2019 21:13:14 +0000 Received: from localhost ([127.0.0.1]:52682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTuWH-0003ps-TN for submit@debbugs.gnu.org; Sun, 10 Nov 2019 16:13:14 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:46690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTuWE-0003pd-Ag for 18072@debbugs.gnu.org; Sun, 10 Nov 2019 16:13:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=S+Ic4fq+gQU3TZrQ7BbMxTNJLthDIh58DWRwyoOOr4E=; b=WtpZXlrBQ07fgiiB4mFvGs69BC eGMp5UobmfhJvMnEkghfjdYxYtM8aYRZEauPCnLPrfnpBBgi2uLaJLr0zM0z95Zh18YatqaOGw3mG yENRt5g/06gCxRgj1pDa32i6XKfIONAbRj5wbVltF0zCeGktdiUr/7wiqwTlyjIfv9aw=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:47836 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iTuW6-0005Pw-UA; Sun, 10 Nov 2019 15:13:03 -0600 From: Stefan Kangas To: Alan Mackenzie Subject: Re: bug#18072: 24.3; cc-mode indentation is broken In-Reply-To: <20191102122305.50439.qmail@mail.muc.de> (Alan Mackenzie's message of "2 Nov 2019 12:23:05 -0000") References: <53CD68CE.40805@gmail.com> <20191102122305.50439.qmail@mail.muc.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Sun, 10 Nov 2019 22:13:00 +0100 Message-ID: <87y2wnsaeb.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 18072@debbugs.gnu.org, Juhani =?utf-8?Q?=C3=85hman?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Alan, Alan Mackenzie writes: > Is this C++ Mode, by any chance? I'm not sure which one to use to reproduce it. I'm hoping Juhani will be able to tell us. > This looks like having the same cause as bug #37910 "CC Mode 5.33.2 > (C++//l); CC-mode inconsistently indents everything as topmost-intro > after a while". > > I'm pretty sure it's a defect in a particular CC Mode cache (the "state > cache"), which tracks parentheses, braces, and brackets containing and > near point. Somehow, it's missing the critical {, believing that > foo();, etc., are at top level. A C-c C-s on that line would likely > show "topmost-intro". Do you think that these two bugs should be merged? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 10 16:42:16 2019 Received: (at 18072) by debbugs.gnu.org; 10 Nov 2019 21:42:16 +0000 Received: from localhost ([127.0.0.1]:52750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTuyO-0006ZR-2a for submit@debbugs.gnu.org; Sun, 10 Nov 2019 16:42:16 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:22686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTuh6-0004A5-6B for 18072@debbugs.gnu.org; Sun, 10 Nov 2019 16:24:25 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 47B6TF55FBzKm7l; Sun, 10 Nov 2019 22:24:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :subject:subject:references:in-reply-to:message-id:from:from :date:date:received; s=mail20150812; t=1573421055; bh=Pf+xXdwvyH KF5U5Tcbpe7J4ePpYK/0M1MPxTySViE/k=; b=DfqeD8kqPhia6AnIdn/8yFQsSK bzC/6j6Gs+9w/L5875LooQE+xTdo37P/+G7Eq7XNGWI4zMug8oIjvkTVPkfsu0R+ jBUMbQWnMmlzVIAJud7XQrCYsK8wP9Wm60gFSci2kmfkFmeUHjWk3a7UGoNDlfwg QQMuDT5HCW6sY9RaVXudcI1RS4jOuEFEMxh0wyOzixwzMxgVDyRfua7Z8qsFnOuk WrSh9ac4zj4QywssU5KOQ/HSoosfXfC+kXLAVcD1XxPLx5RusmaeIFVYKUdaFgM2 ExCweqeO/CTQx1u67mdoMaCUHtIq0QtX7+2E+k6cxM39FRmdU52HLRvA3NWw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1573421055; 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=YRHlWglOp7EQzBtwW1IL75fKRXBuDb/TXG1izphqi0Q=; b=j6tOf7nuS78Cz1+3cb1g/e2y0s9ZIRmmvQDcjDALfc32rUV/UvqBxxJIfMxz+zXZbXSa7o 1E+5CRvTWdzk0MenFUe6T/C/eO2C8hdFhP1DOzu9UjuL0hJ/ZiAiboJU7D7O6jOd/rNsil ijY9BJ2XGYudck/SA5oAYkvFzGkwIlVr4dNtYXwF6YaCmwa/t9XHn80t4MuxCFlfEO6CpM xEndII0L1MiQzKm0W+LEmLqEt49m0MIDqF5k+XCOHUDBrTN+8Lmki1eyomPMMu4m1WrTUi zziBkgv72UHoS09EAD0oaNR1ZAYVmYulf5rAVdyLt79rQI22fb0F5V7F2Tr2ug== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id mrBTtvWPCeD7; Sun, 10 Nov 2019 22:24:15 +0100 (CET) Date: Sun, 10 Nov 2019 23:24:13 +0200 (EET) From: Juhani Ahman To: Stefan Kangas , Alan Mackenzie Message-ID: <849001755.10322.1573421054097@office.mailbox.org> In-Reply-To: <87y2wnsaeb.fsf@marxist.se> References: <53CD68CE.40805@gmail.com> <20191102122305.50439.qmail@mail.muc.de> <87y2wnsaeb.fsf@marxist.se> Subject: Re: bug#18072: 24.3; cc-mode indentation is broken MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072 X-Mailman-Approved-At: Sun, 10 Nov 2019 16:42:15 -0500 Cc: 18072@debbugs.gnu.org, =?UTF-8?Q?Juhani_=C3=85hman?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi It definitely happened with C++ at least. Don't remember if it happened with C too. It's been awhile. > On 10 November 2019 at 23:13 Stefan Kangas wrote: > > > Hi Alan, > > Alan Mackenzie writes: > > > Is this C++ Mode, by any chance? > > I'm not sure which one to use to reproduce it. I'm hoping Juhani will > be able to tell us. > > > This looks like having the same cause as bug #37910 "CC Mode 5.33.2 > > (C++//l); CC-mode inconsistently indents everything as topmost-intro > > after a while". > > > > I'm pretty sure it's a defect in a particular CC Mode cache (the "state > > cache"), which tracks parentheses, braces, and brackets containing and > > near point. Somehow, it's missing the critical {, believing that > > foo();, etc., are at top level. A C-c C-s on that line would likely > > show "topmost-intro". > > Do you think that these two bugs should be merged? > > Best regards, > Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 11 15:43:13 2019 Received: (at 18072) by debbugs.gnu.org; 11 Nov 2019 20:43:13 +0000 Received: from localhost ([127.0.0.1]:56042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUGWm-0002VI-Qr for submit@debbugs.gnu.org; Mon, 11 Nov 2019 15:43:13 -0500 Received: from colin.muc.de ([193.149.48.1]:64504 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iUGWk-0002V9-Af for 18072@debbugs.gnu.org; Mon, 11 Nov 2019 15:43:11 -0500 Received: (qmail 95457 invoked by uid 3782); 11 Nov 2019 20:43:08 -0000 Received: from acm.muc.de (p4FE15B13.dip0.t-ipconnect.de [79.225.91.19]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 11 Nov 2019 21:43:07 +0100 Received: (qmail 5154 invoked by uid 1000); 11 Nov 2019 20:43:07 -0000 Date: Mon, 11 Nov 2019 20:43:07 +0000 To: Stefan Kangas Subject: Re: bug#18072: 24.3; cc-mode indentation is broken Message-ID: <20191111204307.GB5135@ACM> References: <53CD68CE.40805@gmail.com> <20191102122305.50439.qmail@mail.muc.de> <87y2wnsaeb.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y2wnsaeb.fsf@marxist.se> User-Agent: Mutt/1.10.1 (2018-07-13) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 18072@debbugs.gnu.org, Juhani =?iso-8859-1?Q?=C5hman?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Stefan. On Sun, Nov 10, 2019 at 22:13:00 +0100, Stefan Kangas wrote: > Hi Alan, > Alan Mackenzie writes: > > Is this C++ Mode, by any chance? > I'm not sure which one to use to reproduce it. I'm hoping Juhani will > be able to tell us. > > This looks like having the same cause as bug #37910 "CC Mode 5.33.2 > > (C++//l); CC-mode inconsistently indents everything as topmost-intro > > after a while". > > I'm pretty sure it's a defect in a particular CC Mode cache (the "state > > cache"), which tracks parentheses, braces, and brackets containing and > > near point. Somehow, it's missing the critical {, believing that > > foo();, etc., are at top level. A C-c C-s on that line would likely > > show "topmost-intro". > Do you think that these two bugs should be merged? I don't think the evidence is strong enough to do this, yet. Not quite. In the course of investigating #37910, I discovered a flaw whose effect would be consistent with what we're seeing in #37910 and the current bug. I intend to commit a fix to this flaw, soon. However, there's more to #37910 than just that flaw, so #37910 is where I'm spending my time at the moment. > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 15:11:46 2019 Received: (at 18072) by debbugs.gnu.org; 14 Nov 2019 20:11:46 +0000 Received: from localhost ([127.0.0.1]:35285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVLT0-0003Wn-74 for submit@debbugs.gnu.org; Thu, 14 Nov 2019 15:11:46 -0500 Received: from colin.muc.de ([193.149.48.1]:38302 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iVLSx-0003WT-VM for 18072@debbugs.gnu.org; Thu, 14 Nov 2019 15:11:44 -0500 Received: (qmail 56488 invoked by uid 3782); 14 Nov 2019 20:11:43 -0000 Received: from acm.muc.de (p4FE1564A.dip0.t-ipconnect.de [79.225.86.74]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 14 Nov 2019 21:11:39 +0100 Received: (qmail 7859 invoked by uid 1000); 14 Nov 2019 20:11:39 -0000 Date: Thu, 14 Nov 2019 20:11:39 +0000 To: Eric Scrivner Subject: Re: bug#37910: CC Mode 5.33.2 (C++//l); CC-mode inconsistently indents everything as topmost-intro after a while Message-ID: <20191114201139.GC4297@ACM> References: <20191027153956.GB27906@ACM> <20191110104811.GA6614@ACM> <20191113183858.GA4942@ACM> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 37910-done@debbugs.gnu.org, Stefan Kangas , 5490@debbugs.gnu.org, 18072@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eric. On Wed, Nov 13, 2019 at 16:12:11 -0800, Eric Scrivner wrote: > Hi Alan, > Thanks so much for the patch and explanation. I applied it locally and > while the patch didn't seem to have much effect, setting > `open-paren-in-column-0-is-defun-start` to `nil` seems to have done the > trick here without any noticeable impact on performance. It seems as you've > said that there may be some issues in the heuristic used for performance > optimization here. > I will let you know if any other issues surface, but it appears this has > fixed my issue. OK, thanks for the test. I think it is now time to commit the patch and close the bug. I am hoping that the patch, already applied to the savannah master branch, will also have fixed bugs #5910 and #18072. Their (sporadic) symptoms were consistent with the glitches fixed by the patch. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 22:12:10 2019 Received: (at 18072) by debbugs.gnu.org; 15 Nov 2019 03:12:10 +0000 Received: from localhost ([127.0.0.1]:35459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVS1p-0005C5-TK for submit@debbugs.gnu.org; Thu, 14 Nov 2019 22:12:10 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:47642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVS1k-0005BX-U1 for 18072@debbugs.gnu.org; Thu, 14 Nov 2019 22:12:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GJiFVNSrAbaAJwdylD1BnRgB1mRbaNX09n7dBICPnF4=; b=hbouLNAg4PhjyBN/nS7xdY/gFL kt4pdA8drwvsVgsDM8C5zlzv1YJ5/vYawJmHIuN4tDjZtLFbDFiyW7b3rYzxJViCdx9OMl0ovP0nM guypLrIzScyzecnL4oaakWPW/MEWzxCki6vkpvgMYy7GHYXBFlTgo/o9noHIkUvcH+2M=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:35438 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iVS1c-0000pg-MZ; Thu, 14 Nov 2019 21:11:57 -0600 From: Stefan Kangas To: Alan Mackenzie Subject: Re: bug#18072: bug#37910: CC Mode 5.33.2 (C++//l); CC-mode inconsistently indents everything as topmost-intro after a while In-Reply-To: <20191114201139.GC4297@ACM> (Alan Mackenzie's message of "Thu, 14 Nov 2019 20:11:39 +0000") References: <20191027153956.GB27906@ACM> <20191110104811.GA6614@ACM> <20191113183858.GA4942@ACM> <20191114201139.GC4297@ACM> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Fri, 15 Nov 2019 04:11:54 +0100 Message-ID: <877e41omth.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: Juhani =?utf-8?Q?=C3=85hman?= , 18072@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Juhani, Alan Mackenzie writes: > On Wed, Nov 13, 2019 at 16:12:11 -0800, Eric Scrivner wrote: >> Hi Alan, > >> Thanks so much for the patch and explanation. I applied it locally and >> while the patch didn't seem to have much effect, setting >> `open-paren-in-column-0-is-defun-start` to `nil` seems to have done the >> trick here without any noticeable impact on performance. It seems as you've >> said that there may be some issues in the heuristic used for performance >> optimization here. > >> I will let you know if any other issues surface, but it appears this has >> fixed my issue. > > OK, thanks for the test. I think it is now time to commit the patch and > close the bug. > > I am hoping that the patch, already applied to the savannah master > branch, will also have fixed bugs #5910 and #18072. Their (sporadic) > symptoms were consistent with the glitches fixed by the patch. I'm not sure if you're still in a position to reproduce Bug#18072. If you are, could you please help test Alan's patch? Thanks in advance. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 14:50:32 2020 Received: (at 18072) by debbugs.gnu.org; 12 Aug 2020 18:50:32 +0000 Received: from localhost ([127.0.0.1]:45563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5vpX-0007uk-NB for submit@debbugs.gnu.org; Wed, 12 Aug 2020 14:50:31 -0400 Received: from mail-yb1-f170.google.com ([209.85.219.170]:40683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5vpT-0007tr-UB; Wed, 12 Aug 2020 14:50:28 -0400 Received: by mail-yb1-f170.google.com with SMTP id q3so1913260ybp.7; Wed, 12 Aug 2020 11:50:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=bthLmgkjpWH2W1fDOR5m/lWKgEMd0Znpg3x+faV+LE4=; b=Ui1p/Vg75ynTVavoZoi97lLyDbLXhcpAvPaf4jjWqMcGBrO4LniSAkot5VL52gkqlp EoU793CjTRrjcsokDygNE8ZXfh5nylbV25nC61g20CUh+kW/8RWnGA8PIn47fRdJEcVK wMd+xx1bcYdw5mYLGmGiSEEtKjeCIgRAoZqWn06w6DAa3Wat6ipumUXIPLL6vIpA5HEc tz4YpqgRzhbkQD4jkE6xsXwm7xLHAMHUb6cd4zwLZfT0VJCp9vwKzBFcH4QYKNSUakon KXrUaKZ5vdOCQcjNjdowA25OEAc6lHFCPnEKvngpbHIOywRDhWJ1oOYxXAXsTahakrk5 uI2Q== X-Gm-Message-State: AOAM531dvOu1Y9dF+bAeYfjstnoC1Weh4N921Zl9tCKFUs/Berqx4s71 YbREBZlfIoZZXzOxR2+Xg4PFWvTjCFtrlz3i3f10AyQ6qTM= X-Google-Smtp-Source: ABdhPJyjVMOfqvNvRYW/HpWlW/EBV0X5JwW6f4qmYxFlmk84A/TJL0Aeuy4GbFWM1eLnbTYxGoqW5Kk6uiK3PxyLHC8= X-Received: by 2002:a25:b88b:: with SMTP id w11mr1143558ybj.129.1597258222471; Wed, 12 Aug 2020 11:50:22 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 11:50:21 -0700 From: Stefan Kangas In-Reply-To: <20191114201139.GC4297@ACM> (Alan Mackenzie's message of "Thu, 14 Nov 2019 20:11:39 +0000") References: <20191027153956.GB27906@ACM> <20191110104811.GA6614@ACM> <20191113183858.GA4942@ACM> <20191114201139.GC4297@ACM> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Wed, 12 Aug 2020 11:50:21 -0700 Message-ID: Subject: Re: bug#18072: bug#37910: CC Mode 5.33.2 (C++//l); CC-mode inconsistently indents everything as topmost-intro after a while To: Alan Mackenzie Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 18072@debbugs.gnu.org, Eric Scrivner , 5490@debbugs.gnu.org, 37910-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Alan, Alan Mackenzie writes: > OK, thanks for the test. I think it is now time to commit the patch and > close the bug. > > I am hoping that the patch, already applied to the savannah master > branch, will also have fixed bugs #5910 and #18072. Their (sporadic) > symptoms were consistent with the glitches fixed by the patch. Just to follow up on this. If this was committed, is it time to also close Bug#18072? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 14:35:19 2020 Received: (at 18072) by debbugs.gnu.org; 13 Aug 2020 18:35:19 +0000 Received: from localhost ([127.0.0.1]:51065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6I4N-0005SI-2L for submit@debbugs.gnu.org; Thu, 13 Aug 2020 14:35:19 -0400 Received: from colin.muc.de ([193.149.48.1]:21790 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1k6I4J-0005Rl-1i for 18072@debbugs.gnu.org; Thu, 13 Aug 2020 14:35:17 -0400 Received: (qmail 66127 invoked by uid 3782); 13 Aug 2020 18:35:08 -0000 Received: from acm.muc.de (p4fe15a98.dip0.t-ipconnect.de [79.225.90.152]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Thu, 13 Aug 2020 20:35:07 +0200 Received: (qmail 9441 invoked by uid 1000); 13 Aug 2020 18:35:06 -0000 Date: Thu, 13 Aug 2020 18:35:06 +0000 To: Stefan Kangas Subject: Re: bug#18072: bug#37910: CC Mode 5.33.2 (C++//l); CC-mode inconsistently indents everything as topmost-intro after a while Message-ID: <20200813183506.GB7873@ACM> References: <20191027153956.GB27906@ACM> <20191110104811.GA6614@ACM> <20191113183858.GA4942@ACM> <20191114201139.GC4297@ACM> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072 Cc: 18072@debbugs.gnu.org, Eric Scrivner , 5490@debbugs.gnu.org, 37910@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Stefan. On Wed, Aug 12, 2020 at 11:50:21 -0700, Stefan Kangas wrote: > Hi Alan, > Alan Mackenzie writes: > > OK, thanks for the test. I think it is now time to commit the patch > > and close the bug. > > I am hoping that the patch, already applied to the savannah master > > branch, will also have fixed bugs #5910 and #18072. Their (sporadic) > > symptoms were consistent with the glitches fixed by the patch. > Just to follow up on this. > If this was committed, is it time to also close Bug#18072? I had a wee look at it last night, and honestly can't see any good from keeping it open. It's almost certainly fixed, but it was a bug without a reproducible test case. So, I say close it! > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 15:50:27 2020 Received: (at 18072-done) by debbugs.gnu.org; 13 Aug 2020 19:50:27 +0000 Received: from localhost ([127.0.0.1]:51157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6JF4-0007Go-UH for submit@debbugs.gnu.org; Thu, 13 Aug 2020 15:50:27 -0400 Received: from mail-yb1-f176.google.com ([209.85.219.176]:44714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6JF0-0007GS-99 for 18072-done@debbugs.gnu.org; Thu, 13 Aug 2020 15:50:25 -0400 Received: by mail-yb1-f176.google.com with SMTP id i10so3924369ybt.11 for <18072-done@debbugs.gnu.org>; Thu, 13 Aug 2020 12:50:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=WZWT5bhJLo17eEJxJyju2tgp8JSENTlIQblRe+Av7iU=; b=dtSVmCFxUh+x/xa0xZAz9XJ9wZCTYbQwCtai1zyzrORSoR13dvDok4yJmCidpnCaAY hC/PSFs7JYvJ0NfECXbSHAGH8Eld3qdv1GQoLOIxf7Al8KRG7Sp5DnW4kT7T2TTXx3pV RTuN2VdiP9sBXl+W6TwcDhLvhzeQbwbUbut7UYRxbaR8VUyvkOQfzDDE45v3ANxn9f7f YcU2TL3laUOMjxcn/6LBPP9rCQA6XeCGdRz50B1ykllGdfMCG+w48iSCBlQph0mjtJYy BCe7HkxrVmheDmC2FfyD6sP8ltIaITpvquQ3+CFOXO1Y9A6FL0VuLtKD/tBMCDjxVmTp 9uJg== X-Gm-Message-State: AOAM531EX8Ehh/DmrST79NagZ+IT/Y+YnSRXKD364W43Rh5m3hdWblag lHniAn1PK98xZWwGo8E0O9QWCB7heAuWtt84k+M= X-Google-Smtp-Source: ABdhPJxOR6Rit6c52rstVGrOyG/I2wRXvx/gBiAHJkqaK8nnbtMdwBhCj16o080/pM4eZTOJbiBgEofsI9oOozzMMes= X-Received: by 2002:a25:880e:: with SMTP id c14mr9041106ybl.181.1597348216657; Thu, 13 Aug 2020 12:50:16 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 13 Aug 2020 12:50:15 -0700 From: Stefan Kangas In-Reply-To: <20200813183506.GB7873@ACM> References: <20191027153956.GB27906@ACM> <20191110104811.GA6614@ACM> <20191113183858.GA4942@ACM> <20191114201139.GC4297@ACM> <20200813183506.GB7873@ACM> MIME-Version: 1.0 Date: Thu, 13 Aug 2020 12:50:15 -0700 Message-ID: Subject: Re: bug#18072: bug#37910: CC Mode 5.33.2 (C++//l); CC-mode inconsistently indents everything as topmost-intro after a while To: Alan Mackenzie Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18072-done Cc: Eric Scrivner , 18072-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Alan, Alan Mackenzie writes: > I had a wee look at it last night, and honestly can't see any good from > keeping it open. It's almost certainly fixed, but it was a bug without a > reproducible test case. > > So, I say close it! Excellent, thanks for looking into it. I'm closing the bug now. Best regards, Stefan Kangas From unknown Fri Jun 20 07:13:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Sep 2020 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator