From: Ihor Radchenko <yantar92@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: adam@alphapapa.net, 69305@debbugs.gnu.org, juri@linkov.net
Subject: bug#69305: outline-minor-mode for tabulated-list-mode
Date: Sat, 24 Feb 2024 18:36:23 +0000 [thread overview]
Message-ID: <87r0h1vheg.fsf@localhost> (raw)
In-Reply-To: <86r0h1ybgh.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
>> I am wondering if flexible grouping system from Adam's org-super-agenda
>> package may provide some inspiration.
>> Check out
>> https://github.com/alphapapa/org-super-agenda/?tab=readme-ov-file#usage
>
> What I had in mind was much simpler to use. But I guess I'm the only
> one who wants to let users set up grouping in some easy way, because
> I'm being shown more and more complicated customizations, claiming
> they are suitable.
Don't be deceived by the length of org-super-agenda readme.
Most of the keywords listed there are an equivalent to column names in
tabulated-list-mode.
What might be relevant are the following group customizations:
:face
A face to apply to items in the group. If face is a plist containing
:append t, it will be appended. See function add-face-text-property.
:transformer
Used to transform item strings before display. Either a function
called with one argument, the item string, or a sexp, in which case
the item string is bound to it.
and the following options to provide automatic grouping without a need
to write dedicated function:
:and
Group ITEMS that match all selectors in GROUP.
:anything
Select every item, no matter what. This is probably most useful with
:discard, because it doesn’t actually test anything, so it’s faster
than, e.g. ~:regexp “.”~, which has to get the entry text for every
item.
:discard
Discard items that match selectors. Any groups processed after this one
will not see discarded items. You might use this at the beginning or end
of a list of groups, either to narrow down the list of items (used in
combination with :not), or to exclude items you’re not interested in.
:not
Group ITEMS that match no selectors in GROUP.
Note that the :not group selector creates a group with items it does not
match; it can be combined with :discard to discard items that don’t
match. For example, (:discard (:not (:priority "A"))) as the first
selector would mean that only priority A items would appear in the
agenda, while (:discard (:priority "C")) would mean that any priority C
items would not appear in the agenda.
:order
A number setting the order sections will be displayed in the agenda,
lowest number first. Defaults to 0.
:order-multi
Set the order of multiple groups at once, like (:order-multi (2 (groupA)
(groupB) ...)) to set the order of these groups to 2.
:take
Take the first N items in GROUP. If N is negative, take the last N
items. For example, (:take (-3 group)) will take the last 3 items from
the group. The remainder of items are discarded. Note: The order of
entries from GROUP is not guaranteed to be preserved, so :take may not
always show expected entries.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2024-02-24 18:36 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 17:34 bug#69305: outline-minor-mode for tabulated-list-mode Juri Linkov
2024-02-21 19:12 ` Eli Zaretskii
2024-02-22 7:44 ` Juri Linkov
2024-02-22 8:20 ` Eli Zaretskii
2024-02-22 17:30 ` Juri Linkov
2024-02-22 19:10 ` Eli Zaretskii
2024-02-23 7:09 ` Juri Linkov
2024-02-23 8:13 ` Eli Zaretskii
2024-02-24 17:43 ` Juri Linkov
2024-02-24 18:09 ` Eli Zaretskii
2024-02-24 18:13 ` Eli Zaretskii
2024-02-25 8:00 ` Adam Porter
2024-02-25 17:25 ` Juri Linkov
2024-02-25 19:17 ` Eli Zaretskii
2024-02-27 7:30 ` Juri Linkov
2024-02-27 8:31 ` Eli Zaretskii
2024-02-27 17:40 ` Juri Linkov
2024-02-27 18:44 ` Eli Zaretskii
2024-02-28 7:36 ` Juri Linkov
2024-02-28 12:16 ` Eli Zaretskii
2024-02-29 7:45 ` Juri Linkov
2024-02-29 16:33 ` Eli Zaretskii
2024-02-29 17:50 ` Juri Linkov
2024-03-03 6:53 ` Jean Louis
2024-03-03 7:52 ` Juri Linkov
2024-02-24 18:06 ` Ihor Radchenko
2024-02-24 18:16 ` Eli Zaretskii
2024-02-24 18:36 ` Ihor Radchenko [this message]
2024-02-24 18:49 ` Eli Zaretskii
2024-02-25 7:45 ` Adam Porter
2024-02-25 17:36 ` Juri Linkov
2024-02-26 3:31 ` Adam Porter
2024-03-06 17:37 ` Juri Linkov
2024-03-08 23:13 ` Adam Porter
2024-02-25 7:53 ` Adam Porter
2024-02-25 8:26 ` Eli Zaretskii
2024-02-25 17:20 ` Juri Linkov
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=87r0h1vheg.fsf@localhost \
--to=yantar92@posteo.net \
--cc=69305@debbugs.gnu.org \
--cc=adam@alphapapa.net \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
/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).