From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Porter Newsgroups: gmane.emacs.bugs Subject: bug#69305: outline-minor-mode for tabulated-list-mode Date: Sun, 25 Feb 2024 01:45:52 -0600 Message-ID: <0f8d2c11-d393-498e-8324-62e03817ebdb@alphapapa.net> References: <86msrtvi06.fsf@mail.linkov.net> <86frxlmy1d.fsf@gnu.org> <86cyspt02f.fsf@mail.linkov.net> <87ttlxvirt.fsf@localhost> <86r0h1ybgh.fsf@gnu.org> <87r0h1vheg.fsf@localhost> <86o7c5y9x7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21964"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 69305@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii , Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 25 08:46:55 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 1re9Dp-0005R1-Az for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Feb 2024 08:46:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re9Dd-0003sr-31; Sun, 25 Feb 2024 02:46:41 -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 1re9DZ-0003qt-EE for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:46:37 -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 1re9DZ-0004GW-6L for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:46:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1re9Dx-00017R-Oc for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Feb 2024 07:47:01 +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.17088471914218 (code B ref 69305); Sun, 25 Feb 2024 07:47:01 +0000 Original-Received: (at 69305) by debbugs.gnu.org; 25 Feb 2024 07:46:31 +0000 Original-Received: from localhost ([127.0.0.1]:50784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re9DS-00015v-Hw for submit@debbugs.gnu.org; Sun, 25 Feb 2024 02:46:31 -0500 Original-Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]:14727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re9DJ-00014h-8Y for 69305@debbugs.gnu.org; Sun, 25 Feb 2024 02:46:29 -0500 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D5562841882; Sun, 25 Feb 2024 07:45:54 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a258.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 79813842C77; Sun, 25 Feb 2024 07:45:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1708847154; a=rsa-sha256; cv=none; b=3ty4jz3Ft5qIn7GPfjuH/wn+da1nbyPTLgNCl5nD7PZRiX0bPDfnh2ZQ1heaZVvI9VozVw /KmhQeQcifgVPXwErm3zV9sUXSz/8LZlWvYmPpr8NsdHu0QyzlpSRQF4H11GUblr5UMaBu A75LJowrXc/yt2FSK7LrgP/gdvTMIcmnp1FgCjkPwfzsinDa/zrgOZjNTRK5Jzn7KnA86L NHIYgnoK5QNsNFFquWMJBtwXRiIiqJPmn1eh3GLjgnTmg6Hfu9PToYRGBooSYvMiGiDdDC szaKGTyD3WeS88hoq+AVZ4UJ1/lRGXGOpQ08XMgxNNlsazRKpNBuhoAWT6MoFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1708847154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=eP33d0H0JVNbxzAwgwTSimWCeQtWCBYT4EciXLtRnsE=; b=IOaf9qCoxlMPY3gUlRQ6IhMyH9b/uN5WEA4nP4rgIUbMcAn5if807CbpDQL52/Lhgt/jXQ dS4PKO6fB+Y6zoCkf0RPQmJSAteL722P2niGv1mzVxhSdzYcKBrdYnB57Ik//sBzcyUMX0 qpPjLOeiNWpMpT9sE/dQBlzRatNCp72dJkSeNsmwcjIkVIGqqK4qMRju9LERjxoAcxni7i oi5eHUcGomw/fdY2mwWb4A5f/scsHQZJkXyF0cKmMnIpIBZLsqJUzdeXw9GZwARxoTzKKM gAIIudyzbDV0KEUsf90i4LaRKZeCwB3FFGCXT7zIW5s/pL/GAcBQGuRGCPAAFg== ARC-Authentication-Results: i=1; rspamd-6bdc45795d-cstm6; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Obese-Belong: 3d7c91077b3644c7_1708847154754_2097315050 X-MC-Loop-Signature: 1708847154754:3861149264 X-MC-Ingress-Time: 1708847154754 Original-Received: from pdx1-sub0-mail-a258.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.82.30 (trex/6.9.2); Sun, 25 Feb 2024 07:45:54 +0000 Original-Received: from [10.43.2.174] (unknown [193.56.116.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a258.dreamhost.com (Postfix) with ESMTPSA id 4TjG5F5nKWz5j; Sat, 24 Feb 2024 23:45:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1708847154; bh=eP33d0H0JVNbxzAwgwTSimWCeQtWCBYT4EciXLtRnsE=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=e/+Qtg+wEBxN9OsuoTYOr7mSoi9L+HhaiugmBcXwfVXAplzspPL9K5W9vbwFRLnZZ ZxvpQ4OpLroMMt7qbNhZCYHphrSTiNjJJJswZ4bUBrr76IorXPdxx+PG254N7Rf/Ps QLXj/vNi+3hPagcvUu7sSXtXmc5PhqpRmuYlu4mYRlkxBPKFlc5ynWQ1QtMo6Glb5c Qu+A5Y+K0vEw/E2yRqV2JbMHn+tsPdcb4rdXX6dBgstIjAP+8T3aqoPKbYMf7DxN+A EZh4/5RDYYxQ1nTAlUgk1Ot6DKZFyDQowyKY6ioEWRG4IBSPluy2f4zCs3seDZAinb lujKIIZwdMozA== Content-Language: en-US In-Reply-To: <86o7c5y9x7.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:280599 Archived-At: Hi, On 2/24/24 12:49, Eli Zaretskii wrote: >> From: Ihor Radchenko >> Cc: juri@linkov.net, adam@alphapapa.net, 69305@debbugs.gnu.org >> Date: Sat, 24 Feb 2024 18:36:23 +0000 >> >> 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=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. > > Did you read what I suggested as the preferred way of specifying the > grouping? It's way simpler than what org-super-agenda expects. I appreciate Ihor's mentioning my org-super-agenda library. But while it is indeed a useful tool, please note that since I wrote it, I learned a lot about the topic, and I wrote a new library purposefully designed to facilitate grouping arbitrary data in arbitrary ways with a simple API: taxy.el, which is on GNU ELPA. It supports both statically defined grouping, as well as user-customizeable grouping using a concise DSL defined with top-level forms. So if you were to use one of these as inspiration (or as a library directly), I'd strongly recommend using `taxy', as that's what it's designed for. The documentation is fairly thorough; please see the installed Info manual, or the readme at: https://github.com/alphapapa/taxy.el#usage Let me know if I can help facilitate a solution using it, or help anyone work with the API. Thanks, Adam