GNU bug report logs - #19867
c++-mode indentation issues with C++1x initializer lists

Previous Next

Packages: emacs, cc-mode;

Reported by: turner25 <at> gmail.com

Date: Sat, 14 Feb 2015 18:17:01 UTC

Severity: minor

Found in version 24.4.1

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #53 received at 19867 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: Simon <turner25 <at> gmail.com>, 19867 <at> debbugs.gnu.org,
 Stefan Kangas <stefankangas <at> gmail.com>
Subject: Re: bug#19867: c++-mode indentation issues with C++1x initializer
 lists
Date: Mon, 21 Apr 2025 20:35:22 +0000
Hello, Mattias.

On Thu, Apr 17, 2025 at 15:42:59 +0200, Mattias EngdegÄrd wrote:
> 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.

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).




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.