Tags: patch 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, ... }; In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu) of 2024-10-06 built on ada Repository revision: c8e5f2ee9f6155ef545c2fe8ddf702c4f16a6eea Repository branch: master System Description: Debian GNU/Linux 12 (bookworm) Configured using: 'configure --with-x-toolkit=no --with-xpm=ifavailable --with-jpeg=ifavailable --with-png=ifavailable --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable --with-tree-sitter --with-native-compilation --prefix=/home/j/src/emacs/build/root'