emacs-devel
[Top][All Lists]
Advanced

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

Re: How to add pseudo vector types


From: Eli Zaretskii
Subject: Re: How to add pseudo vector types
Date: Thu, 15 Jul 2021 19:50:44 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Thu, 15 Jul 2021 12:26:25 -0400
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
>  emacs-devel@gnu.org
> 
> Or we can only copy out when the portion tree-sitter wants encompasses the 
> gap, I expect this case to be
> relatively rare so we won’t copy out all the time, and most of the time 
> tree-sitter just reads from the buffer
> directly.

Actually, I expect this to happen quite frequently, because the gap is
usually where the editing happens.

We could, of course, move the gap out of the way temporarily, but
that's somewhat expensive, so it is better to avoid it.



reply via email to

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