all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Martín" <mardani29@yahoo.es>
To: Boruch Baum <boruch_baum@gmx.com>
Cc: Emacs-Devel List <emacs-devel@gnu.org>
Subject: Re: Tab advance for tabulated-list-mode [CODE ATTACHED]
Date: Sun, 17 Jan 2021 12:05:10 +0100	[thread overview]
Message-ID: <m1a6t7q0wp.fsf@yahoo.es> (raw)
In-Reply-To: <20210117071759.ge3gqdnucoc7jrm2@E15-2016.optimum.net> (Boruch Baum's message of "Sun, 17 Jan 2021 02:17:59 -0500")

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.



  reply	other threads:[~2021-01-17 11:05 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 [this message]
2021-01-17 12:00   ` Boruch Baum
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

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

  git send-email \
    --in-reply-to=m1a6t7q0wp.fsf@yahoo.es \
    --to=mardani29@yahoo.es \
    --cc=boruch_baum@gmx.com \
    --cc=emacs-devel@gnu.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.