From: Stefan Kangas <stefan@marxist.se>
To: "Juhani Åhman" <juhanipm@gmail.com>
Cc: 18072@debbugs.gnu.org
Subject: bug#18072: 24.3; cc-mode indentation is broken
Date: Sat, 02 Nov 2019 11:52:02 +0100 [thread overview]
Message-ID: <87lfsyeejx.fsf@marxist.se> (raw)
In-Reply-To: <53CD68CE.40805@gmail.com> ("Juhani Åhman"'s message of "Mon, 21 Jul 2014 22:23:58 +0300")
Juhani Åhman <juhanipm@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
next prev parent reply other threads:[~2019-11-02 10:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-21 19:23 bug#18072: 24.3; cc-mode indentation is broken Juhani Åhman
2019-11-02 10:52 ` Stefan Kangas [this message]
[not found] ` <mailman.384.1572692163.13325.bug-gnu-emacs@gnu.org>
2019-11-02 12:23 ` Alan Mackenzie
2019-11-10 21:13 ` Stefan Kangas
2019-11-10 21:24 ` Juhani Ahman
2019-11-11 20:43 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lfsyeejx.fsf@marxist.se \
--to=stefan@marxist.se \
--cc=18072@debbugs.gnu.org \
--cc=juhanipm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.