Subject: bug#61997: closed (Re: bug#61997: 30.0.50; c++-ts-mode;cannot indent in an empty function body)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 12 Sep 2023 00:53:03 +0000

Your bug report

#61997: 30.0.50; c++-ts-mode;cannot indent in an empty function body

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61997: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61997
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61997: 30.0.50; c++-ts-mode;cannot indent in an empty function body
From: Stefan Kangas <[email-masked]>
To: Yuan Fu <[email-masked]>
Cc: [email-masked], Eli Zaretskii <[email-masked]>, [email-masked], Dmitry Gutov <[email-masked]>
Date: Mon, 11 Sep 2023 17:52:46 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Yuan Fu <[email-masked]> writes:

> Right. I fixed this regression on emacs-29.

It seems like this issue was fixed, but it was left open in the bug
tracker.  I'm therefore closing it now.

Please remember to close bug reports when they are fixed.

Subject: 30.0.50; c++-ts-mode;cannot indent in an empty function body
From: xhcoding <[email-masked]>
To: [email-masked]
Date: Mon, 06 Mar 2023 11:03:51 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

When the cursor is at the position of the following code,
pressing tab cannot indent to the correct position.

int add() {
|  <-- pressing tab can not indent
}

The expected position after pressing the tab:

int add() {
  |
}

In GNU Emacs 30.0.50 (build 6, x86_64-w64-mingw32)
Repository revision: 6fb8a4dff7ef22f96ebe1a775240617aabac6526
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.22621
System Description: Microsoft Windows 10 Home China (v10.0.2009.22621.1105)