From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#30016: Improve visibility of Process List Date: Wed, 10 Jan 2018 23:34:53 +0200 Organization: LINKOV.NET Message-ID: <87efmxcs8y.fsf@mail.linkov.net> References: <87efn1mj1y.fsf@mail.linkov.net> <834lnx80kg.fsf@gnu.org> <87a7xoq7db.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515620597 11518 195.159.176.226 (10 Jan 2018 21:43:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 21:43:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 30016@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 10 22:43:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZO9O-0002al-Op for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 22:43:10 +0100 Original-Received: from localhost ([::1]:42642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZOBO-00053f-G2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 16:45:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZOBG-00052S-TX for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:45:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZOBE-0006e0-11 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:45:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZOBD-0006du-U3 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:45:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZOBD-0003Vk-NM for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:45:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2018 21:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30016-submit@debbugs.gnu.org id=B30016.151562067913415 (code B ref 30016); Wed, 10 Jan 2018 21:45:03 +0000 Original-Received: (at 30016) by debbugs.gnu.org; 10 Jan 2018 21:44:39 +0000 Original-Received: from localhost ([127.0.0.1]:51427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOAo-0003UJ-Pt for submit@debbugs.gnu.org; Wed, 10 Jan 2018 16:44:38 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:46221 helo=homiemail-a100.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOAn-0003UB-79 for 30016@debbugs.gnu.org; Wed, 10 Jan 2018 16:44:37 -0500 Original-Received: from homiemail-a100.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a100.g.dreamhost.com (Postfix) with ESMTP id 9EDAC31A073; Wed, 10 Jan 2018 13:44:36 -0800 (PST) Original-Received: from localhost.linkov.net (m91-129-109-142.cust.tele2.ee [91.129.109.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a100.g.dreamhost.com (Postfix) with ESMTPSA id B9D9531A070; Wed, 10 Jan 2018 13:44:35 -0800 (PST) In-Reply-To: <87a7xoq7db.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 09 Jan 2018 01:05:20 +0200") 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: 208.118.235.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:142002 Archived-At: >> Any hope of a more clever logic that would eliminate the need for >> arbitrary limits? Who can know whether there are other users of these >> facilities which need even wider columns? E.g., can we display >> something like >> >> *Async Sh...<1> >> >> i.e. make sure the numerical tail is shown? > > Yes, this would be the most universal solution. > And this feature is also necessary in the *Buffer List* > where *Async Shell Command* buffer names are truncated too. > > To support arbitrary formatting in =E2=80=98tabulated-list-format=E2=80= =99 we could try > to add a new column property that would allow specifying what suffix > to leave in truncated columns. For example, for buffer names it could > leave the buffer name's unique suffix such as =E2=80=9C*Async Sh...<1>=E2= =80=9D, > or for directory names the last directory name in the full path, > e.g. turn =E2=80=9C/usr/share/emacs/24.3/lisp/gnus=E2=80=9D into =E2=80= =9C/usr/sha.../gnus=E2=80=9D. It occurred to me that better would be to make tabulated-list columns resizable. So if the default column size truncates an important part, the user could drag the column separator to make it wider, or use a new key to resize the column, like =E2=80=98C-x {=E2=80=99 and =E2=80=98= C-x }=E2=80=99 are used to resize the window. There is one problem: when =E2=80=98yes-or-no-p=E2=80=99 is replaced with= =E2=80=98y-or-n-p=E2=80=99: (fset 'yes-or-no-p 'y-or-n-p) in ~/.emacs it's impossible to switch to the *Process List* buffer to do this. Maybe =E2=80=9C(y or n)=E2=80=9D prompt should allow all sta= ndard keys as in the =E2=80=9C(yes or no)=E2=80=9D prompt, but as a special case acc= epting =E2=80=9Cy=E2=80=9D or =E2=80=9Cn=E2=80=9D without RET?