GNU bug report logs - #75141
[PATCH] Add button navigation to treesit-explorer

Previous Next

Package: emacs;

Reported by: Gabriel Santos <gabrielsantosdesouza <at> disroot.org>

Date: Fri, 27 Dec 2024 13:55:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 75141 <at> debbugs.gnu.org, Gabriel Santos <gabrielsantosdesouza <at> disroot.org>
Subject: bug#75141: [PATCH] Add button navigation to treesit-explorer
Date: Sat, 4 Jan 2025 12:02:46 -0800

> On Jan 4, 2025, at 3:57 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> 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" <bug-gnu-emacs <at> gnu.org>
>> 
>> 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
>> - <backtab>
>> 
>> * 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?

Sounds good! Though would using both f/b and n/p for the same thing a bit wasteful? Maybe we can start with n/p TAB/<backtab>?

Yuan



This bug report was last modified 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.