emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-tree-sitter and Emacs


From: Eli Zaretskii
Subject: Re: emacs-tree-sitter and Emacs
Date: Thu, 02 Apr 2020 21:27:28 +0300

> From: Michael Welsh Duggan <address@hidden>
> Cc: <address@hidden>, <address@hidden>, <address@hidden>
> Date: Thu, 02 Apr 2020 12:19:44 -0400
> 
> >> > Each buffer always knows which part of it remains unchanged.  When
> >> > fontification is invoked, it should start from that place.  So there's
> >> > no need to parse _all_ prior context.
> >> 
> >> Why not?  Won't it miss that hypothetical opening comment delimiter, for
> >> example?
> >
> > No, because that was already taken care of when that comment delimiter
> > was inserted.
> 
> In which case it's covered by the paragraph you omitted.

I don't think it is, because you were talking about parsing the full
buffer, whereas I'm talking about parsing only what affects the
display in the window.



reply via email to

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