From: Lars Ingebrigtsen <larsi@gnus.org>
To: Adam Niederer <adam.niederer@gmail.com>
Cc: 27402@debbugs.gnu.org
Subject: bug#27402: 26.0.50; Indentation regression for C99 struct initializers
Date: Mon, 30 Nov 2020 12:07:10 +0100 [thread overview]
Message-ID: <875z5ncdcx.fsf@gnus.org> (raw)
In-Reply-To: <4b473acb-6537-f241-b5b0-a16f64122801@gmail.com> (Adam Niederer's message of "Sat, 17 Jun 2017 01:52:37 -0400")
Adam Niederer <adam.niederer@gmail.com> writes:
> Emacs 25.2 indents the code as seen above, whereas Emacs 26.0.50 indents
> it as such:
>
> void main() {
> struct Foo foo = {
> .a = 2,
> .b = 3
> };
> }
(This bug report unfortunately got no response at the time.)
I can reproduce this in Emacs 26.1, but not in Emacs 28, so I think this
has been fixed by now, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2020-11-30 11:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-17 5:52 bug#27402: 26.0.50; Indentation regression for C99 struct initializers Adam Niederer
2020-11-30 11:07 ` Lars Ingebrigtsen [this message]
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=875z5ncdcx.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=27402@debbugs.gnu.org \
--cc=adam.niederer@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 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).