GNU bug report logs - #59691
29.0.60; typescript-ts-mode: any HTML-like elements causes fontification to become invalid and remaining parse-tree to become jsx-expression

Previous Next

Package: emacs;

Reported by: jostein <at> kjonigsen.net

Date: Tue, 29 Nov 2022 20:04:01 UTC

Severity: normal

Found in version 29.0.60

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: jostein <at> secure.kjonigsen.net, theo <at> thornhill.no, jostein <at> kjonigsen.net,
 59691 <at> debbugs.gnu.org
Subject: Re: bug#59691: 29.0.60; typescript-ts-mode: any HTML-like elements 
 causes fontification to become invalid and remaining parse-tree to become 
 jsx-expression
Date: Wed, 30 Nov 2022 16:09:44 +0200
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Wed, 30 Nov 2022 02:22:06 -0800
> Cc: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>,
>  59691 <at> debbugs.gnu.org,
>  jostein <at> kjonigsen.net,
>  eliz <at> gnu.org
> 
> No strong opinions here, but currently a user could install
> tree-sitter-js, and find and enable js-ts-mode, which is
> straightforward, which is good. Since these four modes doesn’t require
> too much boilerplate, I think it’s pretty good right now.

Can we do that automatically?  For example, can typescript-ts-mode call
js-ts-mode when it detects that it is necessary?




This bug report was last modified 2 years and 230 days ago.

Previous Next


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