From: Alex <agrambot@gmail.com>
To: Christoph <cschol2112@googlemail.com>
Cc: 7327@debbugs.gnu.org, Alan Mackenzie <acm@muc.de>
Subject: bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typedefs
Date: Wed, 07 Sep 2016 22:57:32 -0600 [thread overview]
Message-ID: <87twdr7zur.fsf@gmail.com> (raw)
In-Reply-To: <86y69a9ei4.fsf@gmail.com> (Christoph's message of "Wed, 03 Nov 2010 17:25:07 -0600")
tags found 24.5 25.1
quit
Christoph <cschol2112@googlemail.com> writes:
> Start with `emacs -Q'. Start new .c file.
>
> Type `typedef enum' then hit `C-j', then `{'.
>
> The code is indented like this:
>
> typedef enum
> {
> blabla
>
> Then try `typedef struct', `C-j', '{'.
>
> The code is indented like this:
>
> typedef struct
> {
> blabla
>
> This happens in 24.0.50, bzr revision 102241 and also 23.2.1.
>
> I don't know which one is right, but I think the indentation should by
> default be consistent.
This behaviour is still present in Emacs 25.1; is it intentional?
next prev parent reply other threads:[~2016-09-08 4:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 23:25 bug#7327: 24.0.50; cc-mode: default indentation inconsistent with typedefs Christoph
2016-09-08 4:57 ` Alex [this message]
2021-06-02 8:48 ` Lars Ingebrigtsen
2021-06-03 11:38 ` Alan Mackenzie
2021-06-04 8:32 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twdr7zur.fsf@gmail.com \
--to=agrambot@gmail.com \
--cc=7327@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=cschol2112@googlemail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).