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/msg01354.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 19:34:26 +0200
> Date: Sun, 20 Nov 2022 19:12:27 +0200
> Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, theo@thornhill.no
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> On 20.11.2022 09:05, Eli Zaretskii wrote:
> > Why do we need js-base-mode? what will it do?
> 
> I was under the impression that it would dispatch either to js-mode or 
> to js-ts-mode based on the value of some global defcustom like 
> treesit-global-modes (similar in structure for font-lock-global-modes).
> 
> But I guess not. If that choice is going to be made instead through 
> auto-mode-alist and major-mode-remap-alist.

Yes, I prefer to hide the *-base-mode modes from users as much as possible,
or not have them at all.  I think it will prevent confusion.



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