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

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

bug#67556: 29.1; java-ts-mode doesn't indent open curly brackets properl


From: Eli Zaretskii
Subject: bug#67556: 29.1; java-ts-mode doesn't indent open curly brackets properly
Date: Sat, 17 Feb 2024 10:35:25 +0200

> Date: Mon, 12 Feb 2024 00:42:50 +0200
> Cc: spavkov@ilstu.edu, 67556@debbugs.gnu.org
> From: Dmitry Gutov <dmitry@gutov.dev>
> 
> On 11/02/2024 10:43, Eli Zaretskii wrote:
> > Ping! Ping! Ping! Yuan and Theo, could you please chime in?
> 
> Here's a minimal patch, consisting of a new rule and a couple of 
> replacements where the new standalone-parent anchor is used instead of 
> the helper c-ts-common-statement-offset.
> 
> Because the latter behaves differently when the opening curly is on a 
> separate line, and we don't really want that.
> 
> A more finished change will likely either switch over to 
> standalone-parent completely, or go back and revamp 
> c-ts-common-statement-offset to avoid this distinction (despite the 
> name, it only remains in use in java-ts-mode these days).
> 
> The former has been a simpler route so far, so I suggest we at least 
> commit the attached.

No further comments, so I suggest that you install this on master.

Thanks.





reply via email to

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