bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#61369: Problem with keeping tree-sitter parse tree up-to-date


From: Dmitry Gutov
Subject: bug#61369: Problem with keeping tree-sitter parse tree up-to-date
Date: Sat, 18 Feb 2023 19:21:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 18/02/2023 09:15, Eli Zaretskii wrote:
Cc: Theodor Thornhill<theo@thornhill.no>,61369@debbugs.gnu.org
Date: Sat, 18 Feb 2023 02:11:22 +0200
From: Dmitry Gutov<dgutov@yandex.ru>

I'm not sure whether there is an actual hard limit on modifying the
text outside of the current restriction.
It is, for most/all practical purposes.  If you try to modify text
outside of the current restriction, you risk many parts of code
barfing or signaling errors on you.  For example, conversion from
character to byte positions and vice versa will stop working (and in a
build with --enable-checking will actually raise SIGABRT).

All right, thank you both.





reply via email to

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