Subject: bug#65451: 30.0.50; `after-change-functions' are not triggered in the same order the changes are made

From: Ihor Radchenko <[email-masked]>
Date: Fri, 25 Aug 2023 08:09:41 +0000

Eli Zaretskii <[email-masked]> writes:

>> Elements of the list will be like
>> [:buffer-chars-modified-tick :region-beginning :region-end-before-edit :region-end-after-edit]
>
> If you really need buffer-chars-modified-tick, you will have to verify
> that it is updated before calling the function which updates the
> "transactions list".

Do you mean that buffer-chars-modified-tick may not be yet updated at
the time treesit_record_change is called?

Then, treesit_record_change only uses byte positions. Will it be
possible to record buffer point positions, or may it be problematic?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>