GNU bug report logs - #64814
29.1; typescript-ts-mode indentation broken since 235561a

Previous Next

Package: emacs;

Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Sun, 23 Jul 2023 21:24:02 UTC

Severity: normal

Found in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>, Vincenzo Pupillo <v.pupillo <at> gmail.com>, Theodor Thornhill <theo <at> thornhill.no>
Cc: 64814 <at> debbugs.gnu.org
Subject: bug#64814: 29.1; typescript-ts-mode indentation broken since 235561a
Date: Mon, 24 Jul 2023 14:34:23 +0300
> From: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>
> Date: Sun, 23 Jul 2023 22:23:04 +0100
> 
> 
> Reproduction:
> 
> 1. emacs -q
> 2. C-x C-f ~/test.ts
> 3. M-x typescript-ts-mode
> 4. Insert
> 
> ```typescript
> if (true) {
> console.log('hello');
> }
> ```
> 
> 5. Move point to the beginning of the second line
> 6. TAB
> 
> Expectation:
> 
> I expect the indentation behavior to be the same as js-ts-mode, in which
> the if statement body will be indented as I type RET after {, or on TAB
> on the second line, but commit 235561a seems to have broken this behavior.

Thanks.

Theo and Vincenzo, could you please look into this?




This bug report was last modified 1 year and 258 days ago.

Previous Next


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