From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#69305: outline-minor-mode for tabulated-list-mode Date: Sat, 24 Feb 2024 18:36:23 +0000 Message-ID: <87r0h1vheg.fsf@localhost> References: <86msrtvi06.fsf@mail.linkov.net> <86frxlmy1d.fsf@gnu.org> <86cyspt02f.fsf@mail.linkov.net> <87ttlxvirt.fsf@localhost> <86r0h1ybgh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, 69305@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 24 19:33:53 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rdwqN-0001qV-RU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Feb 2024 19:33:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdwqE-0004kv-7r; Sat, 24 Feb 2024 13:33:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdwqA-0004kZ-PD for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2024 13:33:38 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdwqA-0002Ic-HR for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2024 13:33:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdwqY-0004uH-9D for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2024 13:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Feb 2024 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69305 X-GNU-PR-Package: emacs Original-Received: via spool by 69305-submit@debbugs.gnu.org id=B69305.170879959418723 (code B ref 69305); Sat, 24 Feb 2024 18:34:02 +0000 Original-Received: (at 69305) by debbugs.gnu.org; 24 Feb 2024 18:33:14 +0000 Original-Received: from localhost ([127.0.0.1]:47718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdwpl-0004ru-OE for submit@debbugs.gnu.org; Sat, 24 Feb 2024 13:33:14 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:46471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdwpj-0004rV-Kf for 69305@debbugs.gnu.org; Sat, 24 Feb 2024 13:33:12 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3D66F240027 for <69305@debbugs.gnu.org>; Sat, 24 Feb 2024 19:32:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708799561; bh=aVV40PdrGXVw5kD9FbKAhQZKkMOHqXTBerLix7Zyc6A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=lcwwLHtVLu0snSe8QkmqIu98GcuZMrpDzuWxoSV3/9apg/kCtYTymKyAkPm1+vsr8 BveNr43rCXRfj0Zg+KCNT6wUjbWX83vlNcseXVMrcNMHn9VNEiXw2Fl3c3WoGlBBUE 5jS8Lg7B4HGrUGpvkURY6430TgoCESd6tGglHihoHF4rIRwrGkVzs57vMaf4VJBQgU noTmlSnm2kfZ/qbpgnrpi3tQZjyz2+Acfbds/ctZhJ+G3uiuOddbXvHPd0qNFFZ0qR Hq7ESrvZsme2aMlpGPTlIZJg8rrH2kR7+jXUorcebxAzDYv0Cfc+JdT2owBI53KLA9 oeVMn+kgb1ONw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ThwV00tFhz6tw1; Sat, 24 Feb 2024 19:32:39 +0100 (CET) In-Reply-To: <86r0h1ybgh.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280572 Archived-At: Eli Zaretskii 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=3Dreadme-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. =20=20=20=20 :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. =20=20=20=20 :anything Select every item, no matter what. This is probably most useful with :discard, because it doesn=E2=80=99t actually test anything, so it=E2= =80=99s faster than, e.g. ~:regexp =E2=80=9C.=E2=80=9D~, which has to get the entry te= xt for every item. =20=20=20=20 :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=E2=80=99re not interest= ed in. =20=20=20=20 :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=E2=80= =99t 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. =20=20=20=20 :order A number setting the order sections will be displayed in the agenda, lowest number first. Defaults to 0. =20=20=20=20 :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. =20=20=20=20 :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. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at