emacs-devel
[Top][All Lists]
Advanced

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

Re: Plug treesit.el into other emacs constructs


From: Yuan Fu
Subject: Re: Plug treesit.el into other emacs constructs
Date: Thu, 15 Dec 2022 13:23:45 -0800


> On Dec 14, 2022, at 9:59 PM, Theodor Thornhill <theo@thornhill.no> wrote:
> 
> 
> 
> On 15 December 2022 00:31:20 CET, Yuan Fu <casouri@gmail.com> wrote:
>> 
>> 
>>> On Dec 14, 2022, at 6:01 AM, Stefan Monnier <monnier@iro.umontreal.ca> 
>>> wrote:
>>> 
>>>> I would argue that the purpose of forward-sexp is to move over items in
>>>> a list.
>>> 
>>> There are different ways to look at it.  In the Lisp context where it
>>> emerged, we only have "identifiers" and "parenthesized thingies", so
>>> that doesn't give much guidance about what to do in-between.
>> 
>> I see, so maybe sexp means the general, flexible AST entity. And thinking of 
>> it, my idea is just forward-list :-) And we definitely should include 
>> forward-list into the list of navigation commands we want to support, among 
>> the ones that are already brought up.
>> 
>>> 
>>> The semantics I chose for SMIE is what I found to be closest to
>>> past practice.
>> 
>> That’ great! You’ve done all the experiments and thinking, and all I need to 
>> do is to understand it ;-)
>> 
> 
> Are you working on this, yuan? If so I'll get out of your hair.

No I’m working on something else, please go ahead!

Yuan


reply via email to

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