From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61369: Problem with keeping tree-sitter parse tree up-to-date Date: Sat, 18 Feb 2023 09:15:56 +0200 Message-ID: <83sff3zbo3.fsf@gnu.org> References: <1AC63591-F4EF-411F-B554-7CD38B4B4888@gmail.com> <9c4e551b-42b3-8202-ccff-fb8170b616a6@yandex.ru> <7751EE35-F5FF-418B-AF28-F1FF5ECEF3AE@gmail.com> <52d15d7e-82e9-ca7b-be16-0ccf89d5053c@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, theo@thornhill.no, 61369@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 18 08:17:37 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTHTU-0006J9-Ko for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Feb 2023 08:17:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTHTA-0000Nk-VR; Sat, 18 Feb 2023 02:17:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTHSx-0000J1-Oj for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 02:17:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTHSw-0000or-EI for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 02:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTHSv-00020H-WE for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 02:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Feb 2023 07:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61369 X-GNU-PR-Package: emacs Original-Received: via spool by 61369-submit@debbugs.gnu.org id=B61369.16767045627624 (code B ref 61369); Sat, 18 Feb 2023 07:17:01 +0000 Original-Received: (at 61369) by debbugs.gnu.org; 18 Feb 2023 07:16:02 +0000 Original-Received: from localhost ([127.0.0.1]:42294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTHRy-0001yr-4Q for submit@debbugs.gnu.org; Sat, 18 Feb 2023 02:16:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTHRw-0001yG-QO for 61369@debbugs.gnu.org; Sat, 18 Feb 2023 02:16:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTHRq-0000W7-RD; Sat, 18 Feb 2023 02:15:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bWHuopdDqUSs8XuvYBl1itdBQqY0pwosSuwkiLwBvxc=; b=lLKoFOYJ1zT1 TrTiKhG0tyWjP8Ni2RLvZl9DpeLRuJ6bHuXRabhH5aKVlQDzazTgYRsXsitUd9c5CH60vgqD/+bIi FhlkiYVKF3DK0boyMbmJ0TpEpurWSv7cVaxXWY5BOkzhhcFGNE2oIPCLHpZFepysw/e5cp05sHfC/ Dl4S5lZtz1m26il6PYqoSQAyVYVZrNiUtZUEG90IA0KdNDV265GuYWMf0CznNB31rH8fp3WS0aqfc uWCz4KM8gmR47nDhA0NdQXe5s62FM5dJ4YIXvaH1xoQgxfUufl0Aryn4P/gRX/LQEIDFrlayqf1MH zFSioDD012z9yXYMUWwBWQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTHRp-0006bx-GO; Sat, 18 Feb 2023 02:15:54 -0500 In-Reply-To: <52d15d7e-82e9-ca7b-be16-0ccf89d5053c@yandex.ru> (message from Dmitry Gutov on Sat, 18 Feb 2023 02:11:22 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255932 Archived-At: > Cc: Theodor Thornhill , 61369@debbugs.gnu.org > Date: Sat, 18 Feb 2023 02:11:22 +0200 > From: Dmitry Gutov > > 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).