[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tab advance for tabulated-list-mode [CODE ATTACHED]
From: |
Daniel Martín |
Subject: |
Re: Tab advance for tabulated-list-mode [CODE ATTACHED] |
Date: |
Sun, 17 Jan 2021 12:05:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) |
Boruch Baum <boruch_baum@gmx.com> writes:
> Tabulated-list-mode provides for sorting by column at POINT, but not for
> navigating by column to quickly get to the column one wishes to sort.
> The following code provides that feature.
>
[...]
>
> (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.