GNU bug report logs - #67031
[PATCH] Fix typescript-ts-mode indentation in unbracketed statements

Previous Next

Package: emacs;

Reported by: nvp <noah.v.peart <at> gmail.com>

Date: Fri, 10 Nov 2023 01:31:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.2

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 67031 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: nvp <noah.v.peart <at> gmail.com>, Dmitry Gutov <dmitry <at> gutov.dev>,
 Yuan Fu <casouri <at> gmail.com>
Cc: 67031 <at> debbugs.gnu.org
Subject: Re: bug#67031: [PATCH] Fix typescript-ts-mode indentation in
 unbracketed statements
Date: Wed, 15 Nov 2023 15:40:48 +0200
> From: nvp <noah.v.peart <at> gmail.com>
> Date: Thu, 9 Nov 2023 17:29:21 -0800
> 
> Tags: patch
> 
> * lisp/progmodes/typescript-ts-mode.el
> (typescript-ts-mode--indent-rules): fix indentation after statements
> without brackets
> 
> Bug: There are no indentation rules for statement bodies following
> if/for/for_in/do/while statements without brackets.
> 
> Recipe to reproduce:
> In a `typescript-ts-mode` buffer with the following code, 
> 
>     if (true)
>     console.log('No indent here')
> 
> Try to indent the second line.

Dmitry, Yuan: any comments?




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

Previous Next


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