From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dmitry@gutov.dev>
Cc: spavkov@ilstu.edu, 67556@debbugs.gnu.org, casouri@gmail.com,
theo@thornhill.no
Subject: bug#67556: 29.1; java-ts-mode doesn't indent open curly brackets properly
Date: Sat, 17 Feb 2024 10:35:25 +0200 [thread overview]
Message-ID: <868r3jv67m.fsf@gnu.org> (raw)
In-Reply-To: <3d3f645e-c2cd-4184-adf9-adf459a65f67@gutov.dev> (message from Dmitry Gutov on Mon, 12 Feb 2024 00:42:50 +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.
next prev parent reply other threads:[~2024-02-17 8:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-30 22:28 bug#67556: 29.1; java-ts-mode doesn't indent open curly brackets properly Spencer Pavkovic via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 8:26 ` Eli Zaretskii
2023-12-09 16:40 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-09 17:08 ` Eli Zaretskii
2023-12-10 9:56 ` Yuan Fu
2023-12-16 11:56 ` Eli Zaretskii
2023-12-23 9:04 ` Eli Zaretskii
2023-12-28 8:01 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-28 8:05 ` Eli Zaretskii
2024-01-09 20:00 ` Eli Zaretskii
2024-01-20 9:06 ` Eli Zaretskii
2024-02-11 8:43 ` Eli Zaretskii
2024-02-11 22:42 ` Dmitry Gutov
2024-02-17 8:35 ` Eli Zaretskii [this message]
2024-02-17 13:31 ` Dmitry Gutov
2024-02-17 13:56 ` Eli Zaretskii
2024-02-17 20:36 ` Dmitry Gutov
2024-02-11 22:44 ` Dmitry Gutov
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=868r3jv67m.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=67556@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=dmitry@gutov.dev \
--cc=spavkov@ilstu.edu \
--cc=theo@thornhill.no \
/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.