emacs-devel
[Top][All Lists]
Advanced

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

Re: Update on tree-sitter structure navigation


From: Eli Zaretskii
Subject: Re: Update on tree-sitter structure navigation
Date: Fri, 08 Sep 2023 09:40:48 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Thu, 7 Sep 2023 18:04:02 -0700
> Cc: emacs-devel <emacs-devel@gnu.org>, Danny Freeman <danny@dfreeman.email>,
>  Theodor Thornhill <theo@thornhill.no>,
>  Jostein Kjønigsen <jostein@secure.kjonigsen.net>,
>  Randy Taylor <dev@rjt.dev>, Wilhelm Kirschbaum <wkirschbaum@gmail.com>,
>  Perry Smith <pedz@easesoftware.com>
> 
> > I don't have a better idea than basically copying NeoVim and others: to 
> > maintain the urls to parser repositories and the ref of the latest known 
> > good revision, for the current version of the major mode. That info could 
> > be filled in by major modes themselves, e.g. in an autoload block 
> > (similarly to how auto-mode-alist is appended to).
> 
> That’ll probably be ideal for third-party modes. But knowing Eli, I don’t 
> think builtin major modes can do that.

FTR, I have nothing against this technique, I just said that it will
need volunteers to assume this non-trivial job for each major mode,
and therefore I personally don't believe this to be a reliable
solution in practice.  But if volunteers step forward to do this, I
don't object.



reply via email to

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