Subject: Re: bug#61503: 29.0.60; js-ts-mode indent incorrect for multiline strings

From: Theodor Thornhill <[email-masked]>
Date: Tue, 14 Feb 2023 20:56:55 +0100

Geoff Jacobsen <[email-masked]> writes:

> When a multiline (backquote) string is defined in a buffer, with
> major-mode js-ts-mode, the indent function incorrectly indents the
> contents of the string. It should not alter the contents of the string.
>
> Example:
>
> const a = {
>   b: `1
> 2
> 3
> `};
>
> is incorrectly changed to:
>
> const a = {
>   b: `1
>   2
>   3
> `};

Hi! Thanks for your report!

It should be fixed now on latest emacs-29 branch :-)

Theo