unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Boruch Baum <boruch_baum@gmx.com>
To: "Daniel Martín" <mardani29@yahoo.es>
Cc: Emacs-Devel List <emacs-devel@gnu.org>
Subject: Re: Tab advance for tabulated-list-mode [CODE ATTACHED]
Date: Sun, 17 Jan 2021 07:00:37 -0500	[thread overview]
Message-ID: <20210117120037.l2klsx65fn2djnq7@E15-2016.optimum.net> (raw)
In-Reply-To: <m1a6t7q0wp.fsf@yahoo.es>

On 2021-01-17 12:05, Daniel Martín wrote:
> Boruch Baum <boruch_baum@gmx.com> writes:
> [...]
> >
> > (define-key tabulated-list-mode-map "\t"              'tabulated-list-tab-forward)
> > (define-key tabulated-list-mode-map (kbd "<backtab>") 'tabulated-list-tab-backward)
>
>
> How would this work when the tabulated list has one or more buttons?
> (package.el is the most prominent example of that).  By default, TAB and
> <backtab> are bound to forward-button and backward-button, respectively.
>
> Perhaps we could provide the functions but leave the keybindings to the
> tabulated-list-mode implementors, or choose a different keybidinding.

I did overlook that (my personal use-case isn't using buttons).

Shame, because TAB/BACKTAB are the intuitive bindings for both ideas.

Maybe alt-arrow (M-Left, M-Right)? Not nearly as discover-able, but we
are living in the age of PPRTM ...

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0



  reply	other threads:[~2021-01-17 12:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17  7:17 Tab advance for tabulated-list-mode [CODE ATTACHED] Boruch Baum
2021-01-17 11:05 ` Daniel Martín
2021-01-17 12:00   ` Boruch Baum [this message]
2021-01-17 15:20   ` Stefan Monnier
2021-01-17 16:00     ` Daniel Martín
2021-01-17 18:58       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20210117120037.l2klsx65fn2djnq7@E15-2016.optimum.net \
    --to=boruch_baum@gmx.com \
    --cc=emacs-devel@gnu.org \
    --cc=mardani29@yahoo.es \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).