GNU bug report logs - #75650
30.0.93; Unexpected indentation of members of inner classes in java-ts-mode

Previous Next

Package: emacs;

Reported by: Hennes Märtins <hennes <at> maertins-zone.de>

Date: Sat, 18 Jan 2025 17:04:02 UTC

Severity: minor

Found in version 30.0.93

Full log


View this message in rfc822 format

From: Hennes Märtins <hennes <at> maertins-zone.de>
To: 75650 <at> debbugs.gnu.org
Subject: bug#75650: Acknowledgement (30.0.93; Unexpected indentation of members of inner classes in java-ts-mode)
Date: Wed, 19 Feb 2025 21:00:53 +0100
I figured out that this behavior is not limited to inner classes. I
see the same behavior when I replace "class Bar" with "interface Bar"
or "enum Bar" in the example which I gave you in my report.

I adjusted my personal workaround accordingly and replaced

((parent-is "interface_body") column-0 c-ts-common-statement-offset)

with

((parent-is "interface_body") parent-bol java-ts-mode-indent-offset)

and

((parent-is "enum_body") column-0 c-ts-common-statement-offset)

with

((parent-is "enum_body") parent-bol java-ts-mode-indent-offset)




This bug report was last modified 119 days ago.

Previous Next


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