From unknown Thu Jun 19 14:06:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35796 <35796@debbugs.gnu.org> To: bug#35796 <35796@debbugs.gnu.org> Subject: Status: 26.1; tabulated-list-sort user-friendliness Reply-To: bug#35796 <35796@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:24 +0000 retitle 35796 26.1; tabulated-list-sort user-friendliness reassign 35796 emacs submitter 35796 Boruch Baum severity 35796 wishlist tag 35796 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 01:17:11 2019 Received: (at submit) by debbugs.gnu.org; 19 May 2019 05:17:11 +0000 Received: from localhost ([127.0.0.1]:33611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSEC6-0004OP-Oa for submit@debbugs.gnu.org; Sun, 19 May 2019 01:17:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSEC5-0004OB-86 for submit@debbugs.gnu.org; Sun, 19 May 2019 01:17:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:41924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hSEC0-0007Dd-49 for submit@debbugs.gnu.org; Sun, 19 May 2019 01:17:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSEBz-0001lb-13 for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:17:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSE4u-0003E6-3M for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:09:45 -0400 Received: from mout.gmx.net ([212.227.15.15]:46337) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSE4t-0003DU-Ph for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:09:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1558242579; bh=S+fq/xYiffjuq/thy+5rUVUVW2SFGx5pdH8Wc58rs3c=; h=X-UI-Sender-Class:Date:From:To:Subject; b=DRzQ4uUr39wkIkwGH+BFSrKvquSyqnlJVycDN3drgX8DGASrkISakhxLjNioaFCZ8 wGw4iQdTxl/ITyPd+r4fonIKi78uVTYE5VdZq/QIB0KyyY+vZtttpd3Rjl7boUtHm9 bH0z2AOpgnwVPOFVMYrvl/OW1uLt6aIJ5IHcfWj4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from E15-2016.optimum.net ([108.6.168.221]) by mail.gmx.com (mrgmx001 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MZCxA-1hDrYd1Ink-00KwwS for ; Sun, 19 May 2019 07:09:39 +0200 Date: Sun, 19 May 2019 01:09:34 -0400 From: Boruch Baum To: Emacs Bug Reporting Subject: 26.1; tabulated-list-sort user-friendliness Message-ID: <20190519050934.lt6dsr6oxk4qp5kr@E15-2016.optimum.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 X-Provags-ID: V03:K1:UWlZA2xwKFiTd3UEfBEZ3rtpr1DxZO8FS983vdK75qDVjim6xCe S1kXusAx4voGU9mp90rAVcNkkBEnEnZ9lUmy52Ds8e9dYBexdFgpUx/uiijh2WEz2BsfJHG XHQGvP/yQ3ol7lEebiuZcJ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3qWWua0KM9vwlW7Rmy2Xuz bh1A+h/DEDkppZnQ+bH+wXWCrrrUvZ1Q= Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) This is a feature request for function `tabulated-list-sort' to make it more user-friendly. When the function is called interactively without a prefix-argument, it should prompt the user (using `completing-read'?) for which column to sort by (taken from the car of each element of `tabulated-list-format'). When called with a prefix argument, that would be redundant since the prefix argument *is* the sort column. The mode should also have a means to directly and explicitly ask for the direction of sort. Here are a few implementation ideas for that, but any better one that you can come up would be fine by me: 1) Create explicit functions `tabulated-list-sort-ascending' and `tabulated-list-sort-descending'. Allow the user to bind them as 'S'/'s= ' or 'O'/'o' or whatever other binding that desire. ('S' and 'o' are currently used by default by the mode). 2) Add code in the existing function to allow for negative prefix arguments. Then interpret positive numbers as a request for an ascending sort and negative numbers as a request for a descending sort. =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 22:35:50 2019 Received: (at 35796) by debbugs.gnu.org; 9 Jul 2019 02:35:50 +0000 Received: from localhost ([127.0.0.1]:60143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkfyw-0002Ug-BF for submit@debbugs.gnu.org; Mon, 08 Jul 2019 22:35:50 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkfyu-0002UK-FP for 35796@debbugs.gnu.org; Mon, 08 Jul 2019 22:35:49 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkfyp-0008D5-J3; Tue, 09 Jul 2019 04:35:45 +0200 From: Lars Ingebrigtsen To: Boruch Baum Subject: Re: bug#35796: 26.1; tabulated-list-sort user-friendliness References: <20190519050934.lt6dsr6oxk4qp5kr@E15-2016.optimum.net> Date: Tue, 09 Jul 2019 04:35:43 +0200 In-Reply-To: <20190519050934.lt6dsr6oxk4qp5kr@E15-2016.optimum.net> (Boruch Baum's message of "Sun, 19 May 2019 01:09:34 -0400") Message-ID: <87wogsdjeo.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Boruch Baum writes: > This is a feature request for function `tabulated-list-sort' to make it > more user-friendly. > > When the function is called interactively without a prefix-argument, it > should prompt the user (us [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35796 Cc: 35796@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Boruch Baum writes: > This is a feature request for function `tabulated-list-sort' to make it > more user-friendly. > > When the function is called interactively without a prefix-argument, it > should prompt the user (using `completing-read'?) for which column to > sort by (taken from the car of each element of `tabulated-list-format'). > When called with a prefix argument, that would be redundant since the > prefix argument *is* the sort column. It sorts based on the current column (I just tried it in a C-x C-b buffer), and it seems to work fine for me. > The mode should also have a means to directly and explicitly ask for the > direction of sort. Here are a few implementation ideas for that, but any > better one that you can come up would be fine by me: It reverses the direction when you hit it twice, which seems logical to me. So I think this works as it should. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 22:35:53 2019 Received: (at control) by debbugs.gnu.org; 9 Jul 2019 02:35:53 +0000 Received: from localhost ([127.0.0.1]:60146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkfyz-0002VD-JC for submit@debbugs.gnu.org; Mon, 08 Jul 2019 22:35:53 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkfyy-0002Uw-4Q for control@debbugs.gnu.org; Mon, 08 Jul 2019 22:35:52 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkfyv-0008DD-KP for control@debbugs.gnu.org; Tue, 09 Jul 2019 04:35:51 +0200 Date: Tue, 09 Jul 2019 04:35:49 +0200 Message-Id: <87v9wcdjei.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #35796 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 35796 notabug close 35796 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 35796 notabug close 35796 quit From unknown Thu Jun 19 14:06:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Aug 2019 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator