GNU bug report logs - #61997
30.0.50; c++-ts-mode;cannot indent in an empty function body

Previous Next

Package: emacs;

Reported by: xhcoding <xhcoding <at> foxmail.com>

Date: Mon, 6 Mar 2023 07:52:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#61997: closed (30.0.50; c++-ts-mode;cannot indent in an empty
 function body)
Date: Tue, 12 Sep 2023 00:53:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Sep 2023 17:52:46 -0700
with message-id <CADwFkmndWtpdwyTeGg-uz1Z2+yHa8Ag_B+nBbvOW8E_P33cO-g <at> mail.gmail.com>
and subject line Re: bug#61997: 30.0.50; c++-ts-mode;cannot indent in an empty function body
has caused the debbugs.gnu.org bug report #61997,
regarding 30.0.50; c++-ts-mode;cannot indent in an empty function body
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
61997: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61997
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: xhcoding <xhcoding <at> foxmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; c++-ts-mode;cannot indent in an empty function body
Date: Mon, 06 Mar 2023 11:03:51 +0800
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)



[Message part 3 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Yuan Fu <casouri <at> gmail.com>
Cc: xhcoding <at> foxmail.com, Eli Zaretskii <eliz <at> gnu.org>,
 61997-done <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#61997: 30.0.50; c++-ts-mode;cannot indent in an empty
 function body
Date: Mon, 11 Sep 2023 17:52:46 -0700
Yuan Fu <casouri <at> gmail.com> 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.


This bug report was last modified 1 year and 295 days ago.

Previous Next


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