From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mickey Petersen Newsgroups: gmane.emacs.bugs Subject: bug#61235: 30.0.50; tree-sit: `treesit-node-check' lacks a way to tell if a node belongs to a deleted parser Date: Thu, 02 Feb 2023 19:46:41 +0000 Message-ID: <87h6w3hmu6.fsf@masteringemacs.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26013"; mail-complaints-to="usenet@ciao.gmane.io" To: 61235@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 02 20:47:20 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 1pNfYE-0006Tg-Lx for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Feb 2023 20:47:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNfY1-0003v2-Li; Thu, 02 Feb 2023 14:47:06 -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 1pNfXy-0003un-WE for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 14:47:03 -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 1pNfXy-0005gX-OA for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 14:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNfXy-0006xz-JS for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 14:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mickey Petersen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2023 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61235 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167536721626765 (code B ref -1); Thu, 02 Feb 2023 19:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Feb 2023 19:46:56 +0000 Original-Received: from localhost ([127.0.0.1]:35834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNfXr-0006xd-Ma for submit@debbugs.gnu.org; Thu, 02 Feb 2023 14:46:56 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNfXq-0006xU-6e for submit@debbugs.gnu.org; Thu, 02 Feb 2023 14:46:54 -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 1pNfXp-0003uK-VG for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 14:46:53 -0500 Original-Received: from mail-am7eur03on2136.outbound.protection.outlook.com ([40.107.105.136] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNfXm-0005Vf-Eu for bug-gnu-emacs@gnu.org; Thu, 02 Feb 2023 14:46:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P3Wnhxn7Nv6AFnv519u/bF2mCj8FwQpb86gxlDaCXPCFjonPEO69mKcVa2aZ4puLoMPoiG4wYTpmqadDZtUjtIm1ePETqi9mVoD7JsvcXH5M32uOYpEy7XEm3YOqa1MSzNWkLqVVbsqWvWnLnMZ7LJoUUApPbCi4kPX3+nDfYZi5h6IF1/U4k0Sy7vicedaywEZJS0PRIC8AyYTwyVi62a0bCGKLadg54umEB57cn5Hslh+e9vdBVaT7b5J6+ZN7xU5jZq5AR8b5HN11gmxy/lyJcROlgMkec2Maa1qeVHVsVPoj729cg+ddZmZqKLt57wIV60x044HPtQ5JJaBDGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=77LLB3ELvbYHscYtxRTKCH4iNZiElHfKdqvacZ59aWo=; b=WGsVcXclkJTXje2p4pdbNjM1qt9AKPNmHZ0QHQ2s6GfL7MyB7B6ZUJrEa9l/slu681uHCDGda2rlmJukojIW9XOYchef9pU5+7zpaWVc5pujUkDgL9HpmGX0vJc0y8M6uuekMsFZVFjLkdU1ANGcOURwmBG0JKmm/+1oo+a/HpsNSD65wtCuMzceGOV3BZLzjW4tCdW78/D73gm2kiMezenFAYgtLZpCB+LYydtwOlXN1nzv96f/iBp2YcPL7AD2wisl9ihu0bZ4atDUH/B8MWvuBXjQ4oHAjjGRLBvaYCAkcXPK3qroJrya1pHkBXePd6VmkiSamOdW72UwKgJQIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 178.79.136.144) smtp.rcpttodomain=gnu.org smtp.mailfrom=masteringemacs.org; dmarc=pass (p=none sp=none pct=100) action=none header.from=masteringemacs.org; dkim=pass (signature was verified) header.d=masteringemacs.org; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semantical.onmicrosoft.com; s=selector1-semantical-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=77LLB3ELvbYHscYtxRTKCH4iNZiElHfKdqvacZ59aWo=; b=Kpb33RPB9aWFdgTF2LwZNX2ONPesvwA6DmQ4AV/KJ5OtvcAeiljWKnj8V4i+gb9fBwOBcWC5j0jhfrIOWeCmvcLacB8POFkcbiWpRtBxAp4B1YatZTe/K8vUjRt+YmDKlLjfmYX8XfFcAzIpQbVTUuWsVtZo12b9esL5uGni3dg= Original-Received: from CWLP265CA0531.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:18d::23) by LO0P265MB6326.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2d1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.24; Thu, 2 Feb 2023 19:46:47 +0000 Original-Received: from CWLGBR01FT021.eop-gbr01.prod.protection.outlook.com (2603:10a6:400:18d:cafe::24) by CWLP265CA0531.outlook.office365.com (2603:10a6:400:18d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.27 via Frontend Transport; Thu, 2 Feb 2023 19:46:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 178.79.136.144) smtp.mailfrom=masteringemacs.org; dkim=pass (signature was verified) header.d=masteringemacs.org;dmarc=pass action=none header.from=masteringemacs.org; Received-SPF: Pass (protection.outlook.com: domain of masteringemacs.org designates 178.79.136.144 as permitted sender) receiver=protection.outlook.com; client-ip=178.79.136.144; helo=semantical.co.uk; pr=C Original-Received: from semantical.co.uk (178.79.136.144) by CWLGBR01FT021.mail.protection.outlook.com (10.152.40.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.27 via Frontend Transport; Thu, 2 Feb 2023 19:46:46 +0000 Original-Received: by semantical.co.uk (Postfix, from userid 5001) id 9B5F1114002; Thu, 2 Feb 2023 19:46:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=masteringemacs.org; s=masteringemacs.org; t=1675367206; bh=77LLB3ELvbYHscYtxRTKCH4iNZiElHfKdqvacZ59aWo=; h=From:To:Subject:Date:From; b=UZBHyUfD4WYWVjX4Uwk5o4agnm8wrPPcTMhjcC16lEiE00POocAflafDPKaoLOqTR XHMTzQ8m4enR97yOzSGYo0hVLnIxJfoBc5q1S1W3dq/hZGVQAAh3CzCfKFTxpnrdvL GDtof/o0XSixuoM6T5cK3Wyalu2CRQS1CT4IGyuQ= X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLGBR01FT021:EE_|LO0P265MB6326:EE_ X-MS-Office365-Filtering-Correlation-Id: 117b9f0b-8c48-4344-3a18-08db05563822 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yLqzleeuxNU759aHHvkRwgzqOEjKGToAimgh3NnQbUDR2OmIuF7u9DF15sgBFzjLFkxF7ZFuBPGngFZFVAC99Y+bo9r9FHqkYMKHT67hzexmVWmtEyP/rk8kSaALmNqoA1UZPHCWNC4a73gKmXTKlv4F+9vqOkfaQpnSZ6Hc42C7kl2+/WoGh0hewGsAPCX9zDKelb+IGWqd2dv85qJYTZmI1vqVIXIOVKHU+oCoItT9RSDRXUrGd47DGcG5lpMDHoCiliIKUc92X4e9FQsFZbcanZqjAI+AYo+MSJQn/aTPWcsQiVRrXbRZzfoHQQkg0e/UaJDGA/ni1TW7Fg3gejICpvRuDScLVDd4fhDTtc0XETTuH2yyYcv0Ii/A2vuJsEeVCKkBRAOIisLVQjCOW3SvUPUXdyT8kuOm4KNXcJ4gQ8M+x+miLtzT0LyTZ4KivKpS7gZSXryNtwlDT01QcJgHu426HajI7xrD8H3AQqObpvfRYjUWaOPI5UPvnJ9WB7D7i+xwpAkCYT4dWvS/aGrbZ0ySgu4ThvredqiZGKn+BDVzgJLlzgesqpTTrwfeTU6kXswDCioUyZzaPtwlkKEM/QMa5G/zRpwrUgLN79u3NqAmnTfFapQVspAbbHmAYxPRouspj5+UEy+ZmxauGfLG3+/2UikKDrDF/oN2Yj6NdcTnLNwjzCpsENhGTHLIABwmiTCRp31I9XhahQlxa5ntMpP1WVqdPJ+mltQJH3nSslvT61/dy6wzRs6L6 a8TKgKP2P+N+CRDlfWhpFPSNDl4fJu9JAcbRPF6QghJ7NMR4dn82DP0XmGrn6l/8QgW X-Forefront-Antispam-Report: CIP:178.79.136.144; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:semantical.co.uk; PTR:semantical.co.uk; CAT:NONE; SFS:(13230025)(346002)(39830400003)(136003)(396003)(376002)(451199018)(36840700001)(46966006)(70586007)(47076005)(6916009)(70206006)(36860700001)(41300700001)(8676002)(8936002)(6666004)(83380400001)(5660300002)(336012)(7636003)(478600001)(7596003)(40480700001)(42186006)(86362001)(82310400005)(316002)(2906002)(36756003)(2616005)(356005)(26005)(6266002)(186003)(38230200001)(81973001)(43043002)(14776008)(79816003); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2023 19:46:46.9525 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 117b9f0b-8c48-4344-3a18-08db05563822 X-MS-Exchange-CrossTenant-Id: a4e27e3d-bab0-45e8-8942-e64cf9fbd34f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a4e27e3d-bab0-45e8-8942-e64cf9fbd34f; Ip=[178.79.136.144]; Helo=[semantical.co.uk] X-MS-Exchange-CrossTenant-AuthSource: CWLGBR01FT021.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P265MB6326 Received-SPF: pass client-ip=40.107.105.136; envelope-from=mickey@masteringemacs.org; helo=EUR03-AM7-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:254689 Archived-At: There's no way to tell if a node belongs to a now-deleted parser. Checking if it is `missing' or `outdated' returns nil; there is no way to ascertain this state except by catching an error if you try to get its node text, type, etc. In GNU Emacs 30.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-01-25 built on mickey-work Repository revision: 8b87d095acfb23b527f955873a59dd9c13ffc9b4 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.3 LTS Configured using: 'configure --with-native-compilation --with-json --with-mailutils --without-compress-install --with-imagemagick CC=gcc-10' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB