emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter and major mode inheritance


From: Eli Zaretskii
Subject: Re: Tree-sitter and major mode inheritance
Date: Sat, 19 Nov 2022 12:26:17 +0200

> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 19 Nov 2022 01:41:47 -0800
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
>  Eli Zaretskii <eliz@gnu.org>,
>  Theodor Thornhill <theo@thornhill.no>
> 
> Anyway, does anyone think this is a good/bad idea? Should I go implement this 
> on css, js, c, etc? It can also be the other way around: instead of having 
> c-mode being the virtual mode, we can leave c-mode as-is, and have a 
> c-base-mode inherited by c-mode and c-ts-mode. And similarly rss-base-mode, 
> rss-mode, and rss-ts-mode.

I'd prefer leaving the original modes as-is.  That should cause less
compatibility problems, I think.

Stefan, any thoughts?



reply via email to

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