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#60983: 29.0.60; Tree-sitter user-level control Date: Sun, 29 Jan 2023 21:28:29 -0500 Message-ID: References: <83tu0kkuqo.fsf@gnu.org> <87tu0k3y6t.fsf@thornhill.no> <83mt6ckqts.fsf@gnu.org> <87zgacgiwe.fsf@thornhill.no> <834jshhvjh.fsf@gnu.org> <806A8560-A675-423F-9CFC-67D50D14E304@thornhill.no> <83y1pl79el.fsf@gnu.org> <87pmaxqhnc.fsf@thornhill.no> <83v8kp5ds7.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="4613"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: casouri@gmail.com, 60983@debbugs.gnu.org, Theodor Thornhill To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 03:29:15 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 1pMJv0-0000tk-1R for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 03:29:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMJup-0004Tx-Qq; Sun, 29 Jan 2023 21:29:03 -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 1pMJuo-0004TE-IV for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 21:29: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 1pMJuo-0008Kd-9S for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 21:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMJun-0001pM-Q5 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 21:29:01 -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, 30 Jan 2023 02:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60983 X-GNU-PR-Package: emacs Original-Received: via spool by 60983-submit@debbugs.gnu.org id=B60983.16750457307007 (code B ref 60983); Mon, 30 Jan 2023 02:29:01 +0000 Original-Received: (at 60983) by debbugs.gnu.org; 30 Jan 2023 02:28:50 +0000 Original-Received: from localhost ([127.0.0.1]:45692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMJub-0001ox-Ox for submit@debbugs.gnu.org; Sun, 29 Jan 2023 21:28:50 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMJuZ-0001oj-M9 for 60983@debbugs.gnu.org; Sun, 29 Jan 2023 21:28:48 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CEE088089E; Sun, 29 Jan 2023 21:28:41 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 81A0580899; Sun, 29 Jan 2023 21:28:40 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1675045720; bh=QIFxnIy5bu/3tchXGZ9zJeUUJP0SUNYiDR0bA5IcPuI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=noDyqtB5ldT2+laHB3dxB7FPyT0bzwZIvy8+xV9/ydFQW2hj+jVa2YsqGRnotDzC0 ra9x9QyS0tPf3dJWLMsVC57/Wp/xmmbGPw1UwiRo2dPEg0zW/SiFpi6rqh4qlLbVnJ e+E9hI9goYRGNgzj1LOFgR5TIPCV4+Lwisqrf0stwLm7o4S5mlrKEamIGrvVh87spi Et0QKUMzp0GY0hJ7MOOGNXT24270YAmPPJzDRwhv1krPrJZ02D+bGAYadhLHo/yJyN Ip43Pt15Ibp5yEa+dbNKD+ChLVqOvqNYjZEHEh7TFapFZ/viyxQRfiMCfeyo3CgzHT GmNuCrGK0DNIg== Original-Received: from pastel (unknown [167.88.21.243]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3835A1202C3; Sun, 29 Jan 2023 21:28:40 -0500 (EST) In-Reply-To: <83v8kp5ds7.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 29 Jan 2023 21:41:44 +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:254389 Archived-At: > I asked Stefan to help precisely because I don't understand why we > need anything beyond what we have already. I thought mode inheritance > should have taken care of it, or at least the documentation of > define-derived-mode seems to imply that. But the `define-derived-mode` uses `prog-mode` as parent, so while the keymap does inherit from its parent mode's keymap, it's just `prog-mode-map` rather than `c-ts-mode-map`. Stefan