A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01326.html below:

Re: Tree-sitter and major mode inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Eli Zaretskii Subject: Re: Tree-sitter and major mode inheritance Date: Sun, 20 Nov 2022 09:11:28 +0200
> Date: Sun, 20 Nov 2022 00:03:35 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org,
>  monnier@iro.umontreal.ca, theo@thornhill.no
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> On 19.11.2022 23:49, Yuan Fu wrote:
> > Actually, that’s evidence supporting his preference: js-mode will remain to 
> > be the native implementation, so inheriting from it is exactly as before. 
> > Js-ts-mode will install tree-sitter stuff. And js-base-mode wouldn’t do 
> > much.
> 
> But js-base-mode will be used in auto-mode-alist?

NO!!!  auto-mode-alist should keep using js-mode, as it does today.

js-base-mode, if we need it, should just be a vehicle for easy sharing of
common stuff between several modes that pertain to the same or similar
languages.  It should NOT be visible to users, so should not appear in any
variables users are likely to customize.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4