GNU bug report logs - #18072
24.3; cc-mode indentation is broken

Previous Next

Packages: cc-mode, emacs;

Reported by: Juhani Åhman <juhanipm <at> gmail.com>

Date: Mon, 21 Jul 2014 20:52:03 UTC

Severity: normal

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18072 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Juhani Åhman <juhanipm <at> gmail.com>
Cc: 18072 <at> debbugs.gnu.org
Subject: Re: 24.3; cc-mode indentation is broken
Date: Sat, 02 Nov 2019 11:52:02 +0100
Juhani Åhman <juhanipm <at> gmail.com> writes:

> 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.

I'm not seeing this here.  Can you reproduce this when running under
"emacs -Q"?

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.