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#60880: 30.0.50; tree-sitter `treesit-explore-mode' is buggy and does not behave properly Date: Fri, 20 Jan 2023 15:13:56 +0200 Message-ID: <837cxhnyaz.fsf@gnu.org> References: <87wn5ls2bu.fsf@masteringemacs.org> <616F5C5A-1D12-4E14-90D4-8ABE7FD869BD@gmail.com> <83ilh1ofiu.fsf@gnu.org> <8635856316.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35443"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60880@debbugs.gnu.org, casouri@gmail.com, mickey@masteringemacs.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 20 14:20:53 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 1pIrK8-00090n-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Jan 2023 14:20:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIrFl-0003PF-Qm; Fri, 20 Jan 2023 08:16:21 -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 1pIrEU-0007yj-7E for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2023 08: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 1pIrET-0000z4-St for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2023 08:15:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pIrET-00080R-Lj for bug-gnu-emacs@gnu.org; Fri, 20 Jan 2023 08:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Jan 2023 13:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60880 X-GNU-PR-Package: emacs Original-Received: via spool by 60880-submit@debbugs.gnu.org id=B60880.167422044530686 (code B ref 60880); Fri, 20 Jan 2023 13:15:01 +0000 Original-Received: (at 60880) by debbugs.gnu.org; 20 Jan 2023 13:14:05 +0000 Original-Received: from localhost ([127.0.0.1]:45831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIrDY-0007ys-PE for submit@debbugs.gnu.org; Fri, 20 Jan 2023 08:14:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIrDX-0007y6-A5 for 60880@debbugs.gnu.org; Fri, 20 Jan 2023 08:14:03 -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 1pIrDR-0000jS-3h; Fri, 20 Jan 2023 08:13:57 -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=q11DwOnW27JShUGp7KeTTJL8uZMol3oNvPafX02Slpo=; b=iPBRGl/YeWUT GiTKvrxVx1XLL4RlvMSslxb1YXHI52OLHKn817WxeYBY79t7CVwHf0UQBejQ2vrrEnJTYFbJQzl/Y Wr29HJD2izcPIyUWbtDcPmoNpz9+1/3+/5V4tpFWYtXQzh7ZZjPtJcSA5eIae6fCjWWpPNnQAK5// 6MQBS/hKLiglAbrVMfPyAARzJh94Zee43elCruj46u79zCThQwMeiApgI6v6pz3jPPN8c+61F+TNw 5hdZkN8Cmt3DpQFaihgzQoJL2Va17uh+Zn5QAag7YxtNuAafVaczOnvypaHzZVGF4OJjzecDu5ljX 1tGQzLHoN/Pdc0Q/smLRaw==; 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 1pIrDQ-0002lP-I0; Fri, 20 Jan 2023 08:13:56 -0500 In-Reply-To: <8635856316.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 20 Jan 2023 09:59:09 +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:253768 Archived-At: > From: Juri Linkov > Cc: Yuan Fu , 60880@debbugs.gnu.org, > mickey@masteringemacs.org > Date: Fri, 20 Jan 2023 09:59:09 +0200 > > > I don't think the desktop-save part is correct: the test should be at > > desktop-read time, not at desktop-save time. Because the fact we had > > the language available when we saved the desktop doesn't guarantee we > > will have it available when restoring that desktop: it could be in a > > different build of Emacs or even on a different machine. > > When the buffer is not saved, then it will cause no problems when restoring. But users can expect the buffer to be saved and restored, when that presents no problems. We cannot unilaterally decide they cannot expect such buffers with their modes being restored.