all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 75141@debbugs.gnu.org, Gabriel Santos <gabrielsantosdesouza@disroot.org>
Subject: bug#75141: [PATCH] Add button navigation to treesit-explorer
Date: Sat, 4 Jan 2025 12:02:46 -0800	[thread overview]
Message-ID: <965F4039-B541-4FD8-98D0-E34ACAAE4FA0@gmail.com> (raw)
In-Reply-To: <868qrqeqps.fsf@gnu.org>



> On Jan 4, 2025, at 3:57 AM, Eli Zaretskii <eliz@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@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




  reply	other threads:[~2025-01-04 20:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-27 13:54 bug#75141: [PATCH] Add button navigation to treesit-explorer Gabriel Santos via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 11:57 ` Eli Zaretskii
2025-01-04 20:02   ` Yuan Fu [this message]
2025-01-04 20:25     ` Gabriel Santos via Bug reports for GNU Emacs, the Swiss army knife of text editors
2025-01-04 21:17 ` Gabriel Santos via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found] <87sepy8grz.fsf@disroot.org>
     [not found] ` <E8383DF2-495D-4151-A12C-A6B7D8B6B1B1@gmail.com>
2025-01-08 14:31   ` Gabriel Santos via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=965F4039-B541-4FD8-98D0-E34ACAAE4FA0@gmail.com \
    --to=casouri@gmail.com \
    --cc=75141@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=gabrielsantosdesouza@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.