emacs-devel
[Top][All Lists]
Advanced

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

Re: Average-user-facing interface for tree-sitter


From: Stefan Monnier
Subject: Re: Average-user-facing interface for tree-sitter
Date: Fri, 21 Oct 2022 18:35:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> Yeah.  Shouldn't it be possible to just have a global var instead of a
>>> mode?  That way we can just look for that variable when enabling the
>>> mode, and avoid calling anything other than what we want.  At least for
>>> the foreseeable future, enabling these per mode in the init file
>>> shouldn't really be too much of a problem, IMO.  When more users
>>> actually get to try this we can get a feel for how the init should best
>>> be handled.
>>> 
>>> To me the '*-use-tree-siter' defcustoms was beautiful :)
>> 
>> Back to centralized variable, perhaps?
>
> I’ve thought really hard but didn’t come up with any brilliant ideas, so I’m
> going with centralized variable. Now, should I throw away recent commits and
> create a new branch so we don’t have so many changes back and forth on js.el
> and python.el? Plus feature/tree-sitter wouldn’t be used for long anyway
> since it’s merging into master soon.

I'd wait a bit more to see if some other ideas come up first.


        Stefan




reply via email to

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