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 02:00:45 -0600 Message-ID: References: <86sf1hybm3.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="26375"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 69305@debbugs.gnu.org, juri@linkov.net To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 25 09:11:12 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 1re9bM-0006iS-8v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Feb 2024 09:11:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re9aq-0000GI-Ms; Sun, 25 Feb 2024 03:10:40 -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 1re9ao-0000E5-DP for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 03:10: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 1re9ao-0008JH-4y for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 03:10:38 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1re9bC-0002Ja-6J for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 03:11:02 -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 08:11: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.17088486268807 (code B ref 69305); Sun, 25 Feb 2024 08:11:02 +0000 Original-Received: (at 69305) by debbugs.gnu.org; 25 Feb 2024 08:10:26 +0000 Original-Received: from localhost ([127.0.0.1]:52456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re9aa-0002Hx-Vd for submit@debbugs.gnu.org; Sun, 25 Feb 2024 03:10:25 -0500 Original-Received: from bee.birch.relay.mailchannels.net ([23.83.209.14]:15862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re9Rh-0001rO-7G for 69305@debbugs.gnu.org; Sun, 25 Feb 2024 03:01:13 -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 B02DA82A68; Sun, 25 Feb 2024 08:00:47 +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 5A39882F2C; Sun, 25 Feb 2024 08:00:47 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1708848047; a=rsa-sha256; cv=none; b=FGoYQ/kntYsjH+K7uBeYc4+XHpssWU2O/rnKQmdXIPKc5THogiILUFlS3bCaHQy/ypZuRd CR6kVIZvNj81bGm8tZN1ZAy6rsw8CA8mAknijTxepkDtghdV5SsSN0C28/NrwkT16w0jxn h6FYbs/znfssd5rmJhraSweU9V6UO1PtLNDKcH0ybuX8d7nPsy+OI1ULp9BbDYLS5ihpeg uroMSuc70Sroueau+Ui8/s3HIwk1Fam94/4luV9pNkWvJzMfnQKzd1F2T+I6EQiVOwKLBn jD/iAMO8fa1tUcHoBisHQqhQacLna/rAV3Aa40R7Hqm0pPqTZx7B4ah2kURX8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1708848047; 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=ZVDxjxdEUEyf0qON2Y8a5x8ofthxH+no/D9+GSov5fU=; b=xKq792hZTK8Rb7tsN/fffM2o+7rU1/LvCtQ90LhwkQtDeCFTyCEDEortSmaHHs3pE6hjWv KV2hLegxmb88WkjPtBvLXLlCDLIX/7cW9VXTpVeGYyXXbScMfyZTmopZgfKLhfIRgzPydl gu0x3MSVzJEakdjoM5ODucgL8Q2sJHVuujobv7n9kWntRZX1FtDqCBQgP6PHVMo7cafIut 3FgKfbawwxAi5HrdbVwSaFVZWdj8jnJlE4yA02WbltfaL1QwKvsRERHvlm+9jiv0K9vO// tJSeTHSUKL2NfZRt16+irI4KRUeflDnf1vK0mKnYEYnAC7rJm1jCPKxv3l9mMg== ARC-Authentication-Results: i=1; rspamd-6bdc45795d-rlbqw; 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-Left-Stupid: 679cfc2a02a3ba49_1708848047600_3083112980 X-MC-Loop-Signature: 1708848047600:1123955501 X-MC-Ingress-Time: 1708848047600 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.120.66.27 (trex/6.9.2); Sun, 25 Feb 2024 08:00:47 +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 4TjGQQ5Dvkz4S; Sun, 25 Feb 2024 00:00:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1708848047; bh=ZVDxjxdEUEyf0qON2Y8a5x8ofthxH+no/D9+GSov5fU=; h=Date:To:Cc:Subject:From:Content-Type:Content-Transfer-Encoding; b=N1Iwo+ZlxiKBpvsPKMSMHQ22L5WONNUa1QumHiWVwz/97VWFALWnU4INGSjoWedep 7urKXZWxNnTp+eCaQzRnl3wL8j4eaHR24l2hO4EW7EvlHEKF1UEKiEDvg+9ZcdUvTl 22Lg0ayncttQv3CbiYZxXY61JHgm7PxyD6AzveuhJ/m/qmPTU0yps39kM2HWtaw573 0seucJJvNpqGWWv32Z8ZnRDZ5GziJR7HNTv6Q7DIqZy0Ri80B/4odYj9BWDL1C3+i7 b1KpAZqlHsa1456OM3YaC51NXuansRHAnehobRl08hgORiN5UZRVZzI9NNFEoP7PNF 2HijzSzyMJSlQ== Content-Language: en-US In-Reply-To: <86sf1hybm3.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:280603 Archived-At: >> Data structure for `tabulated-list-groups' is a list of elements, >> each element should of the form >> >> (GROUP-NAME (ID . CONTENTS) (ID . CONTENTS) ...) >> >> where GROUP-NAME is the name of the group, ID is a Lisp object that >> identifies the entry and CONTENTS is a vector with the same number of >> elements as `tabulated-list-format'. When buffers grouped by major mode: >> >> (("* Lisp Interaction" (# ["." " " "*" #("*scratch*" 0 9 ...) "225" "Lisp Interaction" ""]) ...)) > > This is the value that the user is supposed to supply for the > defcustom? That is, the user must specify all the buffers explicitly? > What happens when there's one more buffer in some mode? does the user > have then to modify the value of the defcustom? FWIW, using, e.g. Bufler/Taxy to group buffers, the user would define a set of group key functions like so: (setf buffer-keys '((project) (special mode) mode)) That in effect says, "If a buffer is part of a project, group it by that project's directory; otherwise if a buffer is special, group it with other special buffers, and create subgroups by mode; otherwise group it by mode." Then the groups are created dynamically at runtime when the buffer list buffer is refreshed.