GNU bug report logs - #79438
31.0.50; incorrect c++-mode line indentation for member function template

Previous Next

Package: emacs;

Reported by: Geza Herman <geza.herman <at> gmail.com>

Date: Fri, 12 Sep 2025 18:10:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Geza Herman <geza.herman <at> gmail.com>
To: 79438 <at> debbugs.gnu.org
Subject: bug#79438: 31.0.50; incorrect c++-mode line indentation for member function template
Date: Fri, 12 Sep 2025 20:08:40 +0200
This little code, the "Foo(T);" line receives an extra level of 
indentation when using M-x c-indent-line-or-region:

struct Foo {
    template <typename T>
    Foo(T);
};

This worked correctly before, I found that 
555ec43a32ea8f3675c5a9d73ca30609eeaa9013 introduced this behavior.





This bug report was last modified 4 days ago.

Previous Next


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