Subject: Re: bug#75217: 31.0.50; tsx-ts-mode has wonky text motions and indentation

From: Juri Linkov <[email-masked]>
Date: Mon, 13 Jan 2025 09:33:10 +0200

> A shift level extra compared to the opening < of the <H:
>
>   function F() {
>     return (
>       <H foo="bar">
>         Delete</H>
>     );
>   }
>
> Currently, the indentation engine prefers:
>
>   function F() {
>     return (
>       <H foo="bar">
>                      Delete
>       </H>
>     );
>   }
>
> ... which looks odd.

This has something to do with tsx-ts-mode--indent-compatibility-b893426
because without this function the indentation is correct.

Vincenzo, is this function still needed?