bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: xhcoding
Subject: bug#61997: 30.0.50; c++-ts-mode; cannot indent in an empty function body
Date: Mon, 06 Mar 2023 21:13:57 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)

On Tue, 07 Mar 2023 04:57:09 +0800,
Eli Zaretskii wrote:
> 
> > Date: Mon, 06 Mar 2023 11:03:51 +0800
> > From: xhcoding <xhcoding@foxmail.com>
> > 
> > 
> > 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() {
> >   |
> > }
> 
> I think you are supposed to switch the indentation style to bsd, and
> then it will work.  The default is gnu.

Thank you very much, the bsd style is what I want.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]