From: xhcoding <xhcoding@foxmail.com>
To: 61635@debbugs.gnu.org
Subject: bug#61635: 30.0.50; c++-ts-mode: "}" indented wrong when a class in namespace
Date: Sun, 19 Feb 2023 21:01:35 +0800 [thread overview]
Message-ID: <tencent_6D9296289B94E673C6416A602D0387F03609@qq.com> (raw)
The closing '};' is indented wrong in the following class/struct definition:
namespace test {
class Name {
}; <-- error indent
} <-- when press tab, minibuffer output "Wrong type argument: wholenump, -2"
In GNU Emacs 30.0.50 (build 5, x86_64-w64-mingw32)
Repository revision: 07a76a06f9a438e2a1bf1e565e3e78f7927c37f2
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.22621
System Description: Microsoft Windows 10 Home China (v10.0.2009.22621.1105)
Configured using:
'configure --prefix=/d/emacs-build/pkg/master-x86_64 'CFLAGS=-Ofast -fno-finite-math-only -fomit-frame-pointer'
--with-zlib --with-xpm --with-xml2 --with-tree-sitter --without-tiff --with-rsvg --with-png --with-lcms2 --with-json
--with-jpeg --with-harfbuzz --with-gnutls --with-gif --without-cairo --disable-build-details --without-dbus
--with-compress-install --with-small-ja-dic'
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB
Important settings:
value of $LANG: CHS
locale-coding-system: cp936
next reply other threads:[~2023-02-19 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-19 13:01 xhcoding [this message]
2023-02-19 22:13 ` bug#61635: 30.0.50; c++-ts-mode: "}" indented wrong when a class in namespace Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-20 14:09 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_6D9296289B94E673C6416A602D0387F03609@qq.com \
--to=xhcoding@foxmail.com \
--cc=61635@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).