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#61043: 30.0.50; `json-ts-mode': invalid font lock rule Date: Tue, 24 Jan 2023 20:09:40 +0000 Message-ID: <87lelrwv7f.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="36520"; mail-complaints-to="usenet@ciao.gmane.io" To: 61043@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 24 21:10:17 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 1pKPcW-0009JI-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Jan 2023 21:10:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKPcL-0001el-Se; Tue, 24 Jan 2023 15:10: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 1pKPcJ-0001eM-3j for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 15:10: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 1pKPcI-0004A0-RQ for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 15:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKPcI-00035U-7I for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 15:10: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: Tue, 24 Jan 2023 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61043 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.167459099411848 (code B ref -1); Tue, 24 Jan 2023 20:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jan 2023 20:09:54 +0000 Original-Received: from localhost ([127.0.0.1]:57699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKPc9-000351-RC for submit@debbugs.gnu.org; Tue, 24 Jan 2023 15:09:54 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKPc8-00034u-Cw for submit@debbugs.gnu.org; Tue, 24 Jan 2023 15:09:52 -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 1pKPc7-0001J8-TU for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 15:09:52 -0500 Original-Received: from mail-cwlgbr01on2108.outbound.protection.outlook.com ([40.107.11.108] helo=GBR01-CWL-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 1pKPc5-00047S-TF for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 15:09:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nhtfRSeGYgyrGIjOrcn0UiaON5fXbd9ahtITW3Q+UmHgbDBPYp6OkMlPlKqHR8oRxmlcS2vwTeA0+bAHrbt7ewJX6EhQx7UUgEDTsVYsJaJbQ1aYcTHxw89vSYNOuLmTmTfCop4O1dF4Z+7Knsodf/4OMN3uBb1+xyk8sJ6t0jGJPlF9iuGYWM8F9Fy4H1X/WwVGfTBb6VnZrcpHEHw2z6m8TONc7AqC/8H2xMr8SvlBk483AGk2FDrBJtKDJYzQt9RsT/2RQAcoDkTQY2b0ZLFmR1rDrSo4/Aybjix86dPIG8jGYIISlVHwJt/U+r230aJEvnbhZxnZFIdPhksVyQ== 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=yx3hlPNEOSvDQMJiyzHg9YNivpePa/zZY+JeoIvOC44=; b=YJb5XgP/ygtClVKW1AW8ZN9EvmGoRedGpdTO3XCfjMG++lpk6hlebcvfMCHXspGALBNMPaJLcy9PZQmS35EgnVYlVcxtboL0yVhsWpGpWfLwPAeDpXyRKpgPfNZ1dYvuXaWWS7P0PeqXwmp5ghENjf169JIuSh2kTJcyKJaGNWtUXqbm+wZA/T6ikJF8lRCsJJhyKviVyZHliqviOB0BbFJxnsNuyNTvvNM5Lbkk0tvqcHEkYQZoJBVnyefC6lqtwVexnnkCczIU+lk1L4UFYPYAD2OiQFJLLH8PL1Dil1cQeTroF9ZsRsg1eZoBVTZuapOsPI3WSEBGZDcPKeaYOA== 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=yx3hlPNEOSvDQMJiyzHg9YNivpePa/zZY+JeoIvOC44=; b=GtdPm1JFL2RH391RKdWk4i46JUkg1kyAOAs9GB3eJzT1hbV6bktvprCOL67UuTpBzFss4VDJ1AtufaxEjIf5Q33lcP064AsGzvXsacjsjImblXpUnDgkNAFD7eMpokhc0hLUuflS/Z3/Xg+kNAmxDGM80zc9cEVdaO8R1GboTV0= Original-Received: from CWLP123CA0207.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:19d::9) by LO0P265MB7287.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:30d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Tue, 24 Jan 2023 20:09:46 +0000 Original-Received: from CWLGBR01FT033.eop-gbr01.prod.protection.outlook.com (2603:10a6:400:19d:cafe::be) by CWLP123CA0207.outlook.office365.com (2603:10a6:400:19d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33 via Frontend Transport; Tue, 24 Jan 2023 20:09:46 +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 CWLGBR01FT033.mail.protection.outlook.com (10.152.40.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6023.16 via Frontend Transport; Tue, 24 Jan 2023 20:09:46 +0000 Original-Received: by semantical.co.uk (Postfix, from userid 5001) id 17C8A114002; Tue, 24 Jan 2023 20:09:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=masteringemacs.org; s=masteringemacs.org; t=1674590986; bh=yx3hlPNEOSvDQMJiyzHg9YNivpePa/zZY+JeoIvOC44=; h=From:To:Subject:Date:From; b=J3DLJrsNVS6dADBUVc5n5hGp3Vf7YnHFSmuytqWNldWEKKoeUQDJPPzZktR3QCCkO GsDbq1ws+eyJ8bZNPM6gvx99VEswPHUVLdU+ZAExgi9clthmd65MRbZ7TlDBT+ea1F qcWWEdV1nGdeG6iXiyG5evv+YgLcug63yiGKODqs= X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLGBR01FT033:EE_|LO0P265MB7287:EE_ X-MS-Office365-Filtering-Correlation-Id: c200836a-7d22-4f6c-0948-08dafe46f0ab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fWB6FwY9JNEnuCL9b9ZyoyLI+dTjRuV3RUqziJINq/0p4NkMsnIrX3WR0kDvCKh5MgTGdAl5Gi8We54TrNIWN7A5CwoQ6diOl88wFyy9l6tUgaOnbcgKdiSbXuPVOTRJjZ/Dt4lvT/+iqg6vBth9n9bbzhiE6yuEv09c6fFBXIpllXZzWlr8nviVW2w5BFg5ipJsgwKWz1hoaaAmYN3bkegBuKgGtPndDLSGCHvxsYveDRGeoihmuwybWrIWhUTjKNfMTrYJnVcC4jBQcFBK+lHB6NQyD0pZntHz69yLrqR4WZTp0J0tUjpG+96cIjDDZlhxen0YpiDrM8+QhWWNYgeS1wbY1vi1MwgaTY191WEmIPySIotJ+raNeddwGcx+94kw6HA4rHcz3UhsqOVig0jrUtov9X6uyQaKpZVMktHmQH09Zc0mqW5A9NyVNKPY/QCFjKwVSWcK62ygDPZiV6oIMSZBDbYDekCjAIEkKU6FNcojrR0NfQS3gKCbwdB7+KbIM2//DbWPDekh9g2z4G3S/UvgylSb0KgUaEy4Xvc/3mQVH1IEj04Z4eAhkfOCOsIaHJMlNqaui7BbGxqGaHH6/R7lZSr27dtrtsQNc9ShLWyQiq3TuIkTuBfgXtjHzhzF2KCztByTy0ND00UxcAiihvDZs8fwBq37fErD11p6fxWVVxp0pa9bp7lCVChj9Tlgwb5Hq4wkYiQitztqNUf42D4tEEz3nLB1xOoEMEQ3rAs8A+HXwAboOg00L Nw5creBLsH15O0+bAeFlluHHQ== 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)(376002)(39830400003)(136003)(396003)(451199018)(36840700001)(46966006)(356005)(36860700001)(4744005)(316002)(2616005)(6266002)(47076005)(2906002)(70206006)(336012)(42186006)(6666004)(86362001)(7596003)(70586007)(478600001)(36756003)(6916009)(8936002)(5660300002)(83380400001)(41300700001)(82310400005)(40480700001)(8676002)(26005)(186003)(7636003)(38230200001)(81973001)(79816003)(14776008); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2023 20:09:46.4784 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c200836a-7d22-4f6c-0948-08dafe46f0ab 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: CWLGBR01FT033.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P265MB7287 Received-SPF: pass client-ip=40.107.11.108; envelope-from=mickey@masteringemacs.org; helo=GBR01-CWL-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:254070 Archived-At: There's a comment font lock rule in `json-ts-mode'. However, that is illegal and againt the JSON spec, and indeed the search query fails because `comment' is not a valid node type. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-01-17 built on mickey-work Repository revision: bb383a54910c3094e5d228e0af62bf70e36203ca 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