emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TypeScript support for tree-sitter (was Re: Call for volunteers: add


From: Theodor Thornhill
Subject: Re: TypeScript support for tree-sitter (was Re: Call for volunteers: add tree-sitter support to major modes)
Date: Tue, 11 Oct 2022 15:48:27 +0200

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> See attached patch.  I believe this should adhere to Yuan Fu's
>> standards aswell.
>
> The function name `typescript-mode` is already taken by NonGNU ELPA's
> `typescript-mode` package.
>
> Please coordinate with that package's author to avoid imposing on the
> user the need to resolve that conflict.
>
> The ideal way is to merge the two so there's only one.
> [ And the second best is to kill one of the two, so there's only one.  ]
>
> If the administrative hurdles make it impossible (i.e. we can't bring
> `typescript-mode` into Emacs core and we're not willing to forgo having
> that tree-sitter support in core), maybe the next best would be
> something like: use another name for Emacs's built-in mode then adjust
> `typescript-mode.el` to derive from `ts-mode` with enough backward
> compatibility filling to make it not too painful for the end users.
>
> For the sake of end-users I strongly recommend we try and merge the two.
> Please, please, pretty please,
>

Me and Jostein, two of the maintainers of this mode are pretty decided
on not being able to support the old variant for much longer.  We will
deprecate it and move on from it as quick as possible.  We need to make
some arrangements not to conflict, but we should deprecate the nongnu
elpa variant asap.

So - the external one will be killed, and this new one will live on.
There are too many issues not possible to solve feasibly and
satisfactory.

What do you think?


Theo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]