unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61531: 30.0.50; c++-ts-mode: "}" indented wrong
@ 2023-02-15 14:26 xhcoding
  2023-02-15 18:24 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 2+ messages in thread
From: xhcoding @ 2023-02-15 14:26 UTC (permalink / raw)
  To: 61531


The closing '};' is indented wrong in the following class/struct definition:

class Person {
    std::string name;
    int age;
    };

The expected indentation:

class Person {
    std::string name;
    int age;
};


In GNU Emacs 30.0.50 (build 3, x86_64-w64-mingw32)
Repository revision: 571558e460059b3756f592abaaf2a9a67778db66
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 PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig'

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#61531: 30.0.50; c++-ts-mode: "}" indented wrong
  2023-02-15 14:26 bug#61531: 30.0.50; c++-ts-mode: "}" indented wrong xhcoding
@ 2023-02-15 18:24 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 2+ messages in thread
From: Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-02-15 18:24 UTC (permalink / raw)
  To: xhcoding; +Cc: 61531

xhcoding <xhcoding@foxmail.com> writes:

> The closing '};' is indented wrong in the following class/struct definition:
>
> class Person {
>     std::string name;
>     int age;
>     };
>
> The expected indentation:
>
> class Person {
>     std::string name;
>     int age;
> };
>

Thanks! Now fixed in emacs-29 branch :)

Theo





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-15 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-15 14:26 bug#61531: 30.0.50; c++-ts-mode: "}" indented wrong xhcoding
2023-02-15 18:24 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors

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).