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#75141: [PATCH] Add button navigation to treesit-explorer Date: Sat, 04 Jan 2025 13:57:51 +0200 Message-ID: <868qrqeqps.fsf@gnu.org> References: <87msgh5j0j.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="318"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75141@debbugs.gnu.org To: Gabriel Santos , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 12:59:13 2025 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 1tU2oC-000AW0-Us for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 12:59:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU2o3-0003kA-QS; Sat, 04 Jan 2025 06:59: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 1tU2o2-0003jw-Ij for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:59:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tU2o2-0000p4-A1 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=WPcgTSRgj9Yro5RmD2YrlL0doR/4jRBozJhu1CvWFOU=; b=bZXiI33yx9kSvL/Pd2R6IbJKHQllpXnQdNyTvRf+SI5mLdP0UxIGe0ookE3071DKchN4MukCxfu4QVXLo93gzknRwYljZjjdpwdFwSPxl6eStsASnjS0cUJDpfy5vJ8+oRqPkzJT3i0dnYSWsHObb/mJ/4Zu/pvjImG6CwCogzz2KXy+jBcr3iZYBAXQOAzFOwJCNxUVZXKQoG8BoCJV8RY+zwPIm5X9dVUc+s0jtxInpSSiQAKzJjNBbrgf5ULrMvCaZRTiziZ5OolK285ETJN4zjDKABPWv7ODlxFLXq0O4O7p3nwkBWoIrpaDi7UYg8YbJIXGZKkAwa27d48p2w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU2o2-0003sd-3I for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75141 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 75141-submit@debbugs.gnu.org id=B75141.173599188614836 (code B ref 75141); Sat, 04 Jan 2025 11:59:02 +0000 Original-Received: (at 75141) by debbugs.gnu.org; 4 Jan 2025 11:58:06 +0000 Original-Received: from localhost ([127.0.0.1]:53717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU2n7-0003rE-LW for submit@debbugs.gnu.org; Sat, 04 Jan 2025 06:58:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53152) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU2n5-0003qj-SW for 75141@debbugs.gnu.org; Sat, 04 Jan 2025 06:58:04 -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 1tU2n0-0000iW-0O; Sat, 04 Jan 2025 06:57:58 -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=WPcgTSRgj9Yro5RmD2YrlL0doR/4jRBozJhu1CvWFOU=; b=sVuR3Gol1loB f0T0jYqI2vhqFlVcEH9RTL4lLE5ydP61uE8SrVIra+SMXo5vTfeF/mTEIfNFfGCphUGA3QZxxEkt8 Ln/gCgXZ+Q7y9hnQxbH9txJKpbMbJ6hlLL49ShD43h7A/ia9D0D4Ca+O/olpERRMZA2UcsS/l7TWd qtQc2rzE22wjkE19sG+i4jai6tXO0j+9NQ+2Ci/b1HV0hJH5H6xdBwrDz4nJYDfDA3DwsvOk75CbS AVlhQPsSAp1hdv2OihJjCp16nNyt6/69wQnK9e3etpyVqIsvmZp0bGzFDKT9UpxnqnCDQM9o1t55W EUoSgoSgu2c2B1UDa+KtmA==; In-Reply-To: <87msgh5j0j.fsf@disroot.org> (bug-gnu-emacs@gnu.org) 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:298379 Archived-At: > Date: Fri, 27 Dec 2024 10:54:04 -0300 > From: Gabriel Santos via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Greetings, > > Currently, the only way to navigate through treesit-explorer is by the > use of C-n and C-p. Since this buffer is full of buttons, I decided to > add button navigation to it. > > This patch adds button navigation to treesit-explorer, for the following > keys: > > * forward-button > - f > - n > - TAB > > * backward-button > - b > - p > - > > * Points of discussion > > Maybe that's too many keys? The only ones I think that don't really fit > that much are "f" and "b", because they can also go down, but there's no > harm in having extra keys. Thanks. Yuan, any comments?