From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#35796: 26.1; tabulated-list-sort user-friendliness Date: Sun, 19 May 2019 01:09:34 -0400 Message-ID: <20190519050934.lt6dsr6oxk4qp5kr@E15-2016.optimum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="181152"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 To: 35796@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 19 07:18:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSED9-000kyu-K7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 07:18:15 +0200 Original-Received: from localhost ([127.0.0.1]:44076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSED8-0002EX-Ju for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 01:18:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSECx-0002Df-JK for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:18:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSECw-0007ol-Ld for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSECw-0007ob-Hu for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSECw-0004PZ-Bm for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 01:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2019 05:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35796 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Emacs Bug Reporting Original-Received: via spool by submit@debbugs.gnu.org id=B.155824303116894 (code B ref -1); Sun, 19 May 2019 05:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 May 2019 05:17:11 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Content-Disposition: inline X-Provags-ID: V03:K1:UWlZA2xwKFiTd3UEfBEZ3rtpr1DxZO8FS983vdK75qDVjim6xCe S1kXusAx4voGU9mp90rAVcNkkBEnEnZ9lUmy52Ds8e9dYBexdFgpUx/uiijh2WEz2BsfJHG XHQGvP/yQ3ol7lEebiuZcJQ5Ab1WD4iZtevMR4zZTy5rqji6H/HuMqSwSDnElPyMntCGXa8 vAFz/3nhrSdDk9dyBAghg== X-UI-Out-Filterresults: notjunk:1;V03:K0:K4nVvznfApo=:kzWF+NDqS/DtDGEc7QIoeJ w1q6BntQ2enqZ3gA5G4WwHjLXPdRU+02lchjqGgE9s6kf+ZcM+W/XOcFjQqX3URLLU5oSDJug 9VWUE+wwIq/+npU8v50442HpvMghKdfMPq2Qem6OhWCd3JbLt26nwVcaE5Ke7Yx77Ws1o/zgM rlbiydSiVM6x2rjIE7FVu1IBAIl/gplCx9djxBTeK7ovT8nUjnZ9U7C1EQmodrfNCbs7Prux1 uB4vTNA2e7/p+VqaHo1eLvvQsbXoNbWMt+2nTGUWtVZ5G5uu+k0hj8iNV1zIcGWhculEBr9cI YToXbDTQ5mbDov2oXrMGPaxbcbA4ZA9UOaFj1r3ErINpLM7x1D3NweB4j8m3mOCtl8Bsg9YLA vHX1qdc6WeKALA7ZBjtbN/RN2pmgWsJRRd8kvfTE9MfLeg/irR0mXofRiXHwCl2FH0EFB4Yso 952P8vwR/fxCvXYaZh9/RoKUoE5X9sfeMHaLT9J3MF60ZKy77YoI5J555UGNI0jDKLlo/mrnr N9lWvL+0vp2N1PcAFpW4WUyOV+kpcKFpA1Gnh5j3Rb1NiYijn/7X4eY9RTbybMJCquwUkz4uM euEQTdd66sX7SjQaUrkaj/0J2LIMw0f8sB+OYoCxewRrzMOOi7DWUvgRRjyqG29xIPKH5goKj ShtGvUeS59ej3dtw9sWQZNEjHpRhdCTdBgcZlYJ1sMPEeYO5WlY1QndImK5ERWvJGHJYccvAU FM9+Tu9FX/H8IG314xLnq+ed6uFYh9jhXZTzlvt1GX0OHUSdmU5MCnu3Ue22Zbav0Mbxb6tV X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159525 Archived-At: 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