Subject: Re: bug#73662: [PATCH] Anchor to first sibling unless bol-sibling found

From: Eli Zaretskii <[email-masked]>
Date: Sun, 06 Oct 2024 19:24:31 +0300

merge 73662 73661
thanks

> Cc: [email-masked],[email-masked]
> From: Jørgen Kvalsvik <[email-masked]>
> Date: Sun, 06 Oct 2024 16:03:44 +0200
> 
> Indenting would give up when initializer lists and similar constructs
> were broken up over multiple lines where the first item was not also
> beginning-of-line.  Items should anchor on the first sibling (like with
> function calls and init-lists in general). The search for a sibling to
> anchor on should stop at the first sibling at bol or the first sibling
> in the (sub)tree.
> 
> This brings indent up to c-mode parity for code like:
> 
> return { x1, x2, ...,
>          y1, x2, ... };

This is an exact duplicate of bug 73661, which you submitted just a
few minutes ago.  So I'm merging them.