From: xhcoding <xhcoding@foxmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: xhcoding <xhcoding@foxmail.com>, 61997@debbugs.gnu.org
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 [thread overview]
Message-ID: <tencent_2A1C9E5E123FE59F925F8E184825EC402006@qq.com> (raw)
In-Reply-To: <83356i82ca.fsf@gnu.org>
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.
next prev parent reply other threads:[~2023-03-06 13:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 3:03 bug#61997: 30.0.50; c++-ts-mode; cannot indent in an empty function body xhcoding
2023-03-06 12:57 ` Eli Zaretskii
2023-03-06 13:11 ` Dmitry Gutov
2023-03-06 13:13 ` xhcoding [this message]
2023-03-08 0:44 ` Yuan Fu
2023-09-12 0:52 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_2A1C9E5E123FE59F925F8E184825EC402006@qq.com \
--to=xhcoding@foxmail.com \
--cc=61997@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.