GNU bug report logs - #72184
31.0.50; typescript-ts-mode does not bind RET to newline-and-indent

Previous Next

Package: emacs;

Reported by: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>

Date: Thu, 18 Jul 2024 21:07:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Andrea Corallo <acorallo <at> gnu.org>
To: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Cc: 72184 <at> debbugs.gnu.org
Subject: Re: bug#72184: 31.0.50; typescript-ts-mode does not bind RET to
 newline-and-indent
Date: Thu, 18 Jul 2024 17:30:32 -0400
Jostein Kjønigsen <jostein <at> secure.kjonigsen.net> writes:

> When using typescript-ts-mode in a bare config without any custom hooks defined,
> RET ends up being bound (by default) to `newline`.
>
> This is suboptimal, given that users typically want newlines to be indented.
>
> RET should instead be bound to `newline-and-indent`.

Hi,

AFAIK this is what we tipically do, like: c-mode, c-ts-mode, lisp-mode,
emacs-lisp-mode etc.  Why 'typescript-ts-mode' should be different?

  Andrea




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

Previous Next


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