[Top][All Lists]

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

Re: Unifying "foo-mode"s and "foo-ts-mode"s

From: Theodor Thornhill
Subject: Re: Unifying "foo-mode"s and "foo-ts-mode"s
Date: Fri, 30 Dec 2022 13:50:55 +0100

Philip Kaludercic <philipk@posteo.net> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>> You can try.  I would like to start a full feature freeze in a day or
>> two, so I'm not sure you will have enough time.  And it isn't like we
>> didn't try various approaches during the past two months, so frankly I
>> don't think that a better way even exists.  But if you come up with
>> some very bright idea, who knows?
> I have attached a sketch of my proposal with support for Python.
> Instead of a separate python-ts-mode, we regulate tree-sitter support
> using a user option `treesit-enabled-modes'.  It can either be a list


IIUC this will make all other config run before the treesit-related
code?  In that case I think this cannot work, because we _don't_ want to
set all the before/after-change functions many modes set, for example.


reply via email to

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