bug#19867: c++-mode indentation issues with C++1x initializer lists

Alan Mackenzie <[email protected]> Mon, 21 Apr 2025 20:35:22 +0000
Newsgroups gmane.emacs.cc-mode.general
Message-ID <aAasClKif5BlyeET__48960.7603218005$1745267817$gmane$org@MAC.fritz.box>
Hello, Mattias.

On Thu, Apr 17, 2025 at 15:42:59 +0200, Mattias Engdeg=E5rd wrote:
> Thank you for fixing this. A minor oversight in the committed patch, in c=
c-align.el:

>  351        (skip-syntax-backward " \t([{" (c-point 'boi))

> This call should probably use `skip-char-backward`, because `\t`, `[`, an=
d `{` aren't syntax chars.
> It currently works by accident because of the ` ` and `(` syntax classes.

Thanks for spotting this and telling me about it.  I'll get around to
fixing it in the next few days.

-- =

Alan Mackenzie (Nuremberg, Germany).