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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Geza Herman <geza.herman <at> gmail.com>, Alan Mackenzie <acm <at> muc.de>
Cc: 79438 <at> debbugs.gnu.org
Subject: Re: bug#79438: 31.0.50;
 incorrect c++-mode line indentation for member function template
Date: Sat, 13 Sep 2025 09:35:39 +0300
> Date: Fri, 12 Sep 2025 20:08:40 +0200
> From: Geza Herman <geza.herman <at> gmail.com>
> 
> 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.

Thanks, I added Alan to the discussion.




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.