> On Jul 29, 2021, at 2:37 PM, Eli Zaretskii wrote: > >> From: Yuan Fu >> Date: Thu, 29 Jul 2021 13:55:48 -0400 >> Cc: Stephen Leake , >> cpitclaudel@gmail.com, >> monnier@iro.umontreal.ca, >> emacs-devel@gnu.org >> >> Actually, that sounds like how it works in my code right now. After the last few exchanges, I still have the feeling that we are not on the same page. Could you have a look at the code in ts_ensure_parsed and ts_record_change, and see if it aligns with what you consider to be the right thing? If you have read them already and think you understand what are they doing, could you tell me how exactly should these two functions behave, in your opinion? Thanks. > > Where do I find the latest version of the code? A few messages back I attached a patch, ts.5.patch. Actually I can just attach it again, here. Yuan