bug#19867: c++-mode indentation issues with C++1x initializer lists
Mattias EngdegÄrd <[email protected]> Thu, 17 Apr 2025 15:42:59 +0200
| Newsgroups | gmane.emacs.cc-mode.general |
|---|---|
| Message-ID | <4FEB275A-AB42-43AD-9382-ADB6244E3229__2485.34196741588$1745071197$gmane$org@gmail.com> |
Thank you for fixing this. A minor oversight in the committed patch, in cc-align.el:
351 (skip-syntax-backward " \t([{" (c-point 'boi))
This call should probably use `skip-char-backward`, because `\t`, `[`, and `{` aren't syntax chars.
It currently works by accident because of the ` ` and `(` syntax classes.