From: Jean Louis <bugs@gnu.support>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 56345@debbugs.gnu.org, Thuna <thuna.cing@gmail.com>
Subject: bug#56345: 29.0.50; [PATCH] Add column hiding to tabulated-list
Date: Thu, 8 Sep 2022 21:14:00 +0300 [thread overview]
Message-ID: <Yxow6J9iypsDlygS@protected.localdomain> (raw)
In-Reply-To: <87v8py1k93.fsf@web.de>
* Michael Heerdegen <michael_heerdegen@web.de> [2022-09-08 08:59]:
> Thuna <thuna.cing@gmail.com> writes:
>
> > I don't know how `proced' and `ibuffer' specifically handles views, but
> > I don't think it is a good idea to put the burden on external packages
> > when tabulated-list is right there. Especially since this leads to a
> > lot of (what I imagine to be) duplicated code across packages.
>
> Exactly. tabulated-list should implement this feature.
>
> > I don't exactly understand what you mean by "interface". Are you
> > referring to the package which should be responsible for managing
> > which columns are visible?
>
> No, I mean, how should column hiding happen? Should the user select
> single columns interactively, or should we provide a way to define
> restricted views? Maybe we can have both?
It seems to me complex to hide columns as one would need to manipulated:
- tabulated-list-format
and
- tabulated-list-entries
One way to go would be:
1. Remember original format
2. Generate new format with column hidden
3. Remember original tabulated-list-entries
4. Modify tabulated-list-entries to remove the column
5. Refresh buffer
6. Revealing columns should restore original variables
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2022-09-08 18:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 22:43 bug#56345: 29.0.50; [PATCH] Add column hiding to tabulated-list Thuna
2022-07-02 6:06 ` Eli Zaretskii
2022-07-02 15:34 ` bug#56345: Typo fix and convenience function Thuna
2022-09-05 19:31 ` bug#56345: 29.0.50; [PATCH] Add column hiding to tabulated-list Lars Ingebrigtsen
2022-09-05 19:58 ` Thuna
2022-09-06 10:07 ` Lars Ingebrigtsen
2022-09-06 13:59 ` Thuna
2022-09-07 3:23 ` Michael Heerdegen
2022-09-07 12:41 ` Lars Ingebrigtsen
2022-09-08 5:53 ` Michael Heerdegen
2022-09-07 12:42 ` Lars Ingebrigtsen
2022-09-07 12:50 ` Thuna
2022-09-07 12:52 ` Lars Ingebrigtsen
2022-11-25 1:26 ` Stefan Kangas
2022-11-25 7:58 ` Thuna
2022-11-25 8:17 ` Eli Zaretskii
2022-09-07 15:35 ` Drew Adams
2022-09-07 10:37 ` Thuna
2022-09-08 5:57 ` Michael Heerdegen
2022-09-08 18:14 ` Jean Louis [this message]
2022-10-27 23:12 ` Thuna
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=Yxow6J9iypsDlygS@protected.localdomain \
--to=bugs@gnu.support \
--cc=56345@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--cc=thuna.cing@gmail.com \
/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.