From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59693: 29.0.50; treesitter in base buffer doesn't respond to modifications in indirect buffer correctly Date: Mon, 05 Dec 2022 15:14:20 -0500 Message-ID: References: <87r0xlbjg6.fsf@miha-pc> <5F7AE71F-0327-409E-BCE9-310E1980C17A@gmail.com> <8335a0lept.fsf@gnu.org> <22B4F037-2979-4C65-8917-26D17CFBED0A@gnu.org> <83a64197ny.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9874"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: casouri@gmail.com, 59693@debbugs.gnu.org, miha@kamnitnik.top To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 05 21:15:18 2022 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 1p2Hrw-0002HU-8U for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Dec 2022 21:15:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2Hrl-00030k-03; Mon, 05 Dec 2022 15:15:05 -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 1p2Hri-00030C-T2 for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 15:15:02 -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 1p2Hri-0000BB-Ih for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 15:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2Hri-00014r-EQ for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2022 15:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Dec 2022 20:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59693 X-GNU-PR-Package: emacs Original-Received: via spool by 59693-submit@debbugs.gnu.org id=B59693.16702712704117 (code B ref 59693); Mon, 05 Dec 2022 20:15:02 +0000 Original-Received: (at 59693) by debbugs.gnu.org; 5 Dec 2022 20:14:30 +0000 Original-Received: from localhost ([127.0.0.1]:38130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2HrB-00014L-QH for submit@debbugs.gnu.org; Mon, 05 Dec 2022 15:14:29 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2HrA-00014E-4d for 59693@debbugs.gnu.org; Mon, 05 Dec 2022 15:14:28 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B79814426B8; Mon, 5 Dec 2022 15:14:22 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6DA824426B3; Mon, 5 Dec 2022 15:14:21 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1670271261; bh=BaZVTUjb3cSVvkAzJwMxAN+Ez57FkGemPdRuiD/j6K4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=I3RxAMClsEgXi+UaTn8hJhCqbORnhsprnGPwfq+H7W447f5q6Lgu0wXUMTGzZiBL7 efpvRzmdDjDEtSDU7K7W/uLX7xh+L984b5ZR5JB6K+5sWAn9YbnNLwpqRxxjDSjioo HulKYqRodYiOYI9f4khFlsEG6+XZ8CR20hWQ4+l6S3xbf2Owhrf+bdHKDfIU8JavMC uz845kDSPihsVfimg5mGMFZSbn3WI2BVHib2PTKh2Zl1JhagIdda/79JnztHAwQf0c /hBWv65GADzOn+TMsrxZpS6ix3gbKLUc2cvdSMb0ShcEpWTyG+ddDokA7PdnKtULrz uT8fFAC4QWC5A== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4FC21122535; Mon, 5 Dec 2022 15:14:21 -0500 (EST) In-Reply-To: <83a64197ny.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Dec 2022 17:44:49 +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:250065 Archived-At: >> I can't see why: a package that uses indirect buffers can just as well >> run its tree-sitter parsers in the base buffer. > I thought about those multi-mode modes, or features that show the same > buffer more than once with different modes. Yes, that's exactly the case I'm thinking about: these packages should have no trouble running all their parsers in the base buffer (even if the rest of their work is done in indirect buffers). Stefan