unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30016: Improve visibility of Process List
@ 2018-01-07 21:54 Juri Linkov
  2018-01-08  3:57 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Juri Linkov @ 2018-01-07 21:54 UTC (permalink / raw)
  To: 30016

0. emacs -Q

1. M-& sleep 3600 RET

2. M-& sleep 3600 RET
   Answer “yes” to the question:
   “A command is running in the default buffer.  Use a new buffer? (yes or no) ”

3. Repeat some more times from 2.

4. C-x C-c
   “Active processes exist; kill them and exit anyway? (yes or no) ”

The displayed buffer *Process List* truncates the buffer names
and thus hides the suffixes of the active buffers:

Shell           25550   run     *Async Shell... /dev/pts/17  /bin/bash -c sleep 3600
Shell<1>        25551   run     *Async Shell... /dev/pts/18  /bin/bash -c sleep 3600
Shell<2>        25552   run     *Async Shell... /dev/pts/19  /bin/bash -c sleep 3600
...

These buffer name suffixes are important to see to be able
to switch to the corresponding buffers using the *Buffer List*,
check the output and terminate its process when needed.

So I propose to increase the size of the column for buffer names
in *Process List* to at least fit the longest default buffer name
*Async Shell Command* with suffixes:

diff --git a/lisp/simple.el b/lisp/simple.el
index 87e0b23..6e8930b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3927,7 +3927,7 @@ process-menu-mode
   (setq tabulated-list-format [("Process" 15 t)
 			       ("PID"      7 t)
 			       ("Status"   7 t)
-			       ("Buffer"  15 t)
+			       ("Buffer"  25 t)
 			       ("TTY"     12 t)
 			       ("Command"  0 t)])
   (make-local-variable 'process-menu-query-only)





^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-29 21:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-07 21:54 bug#30016: Improve visibility of Process List Juri Linkov
2018-01-08  3:57 ` Eli Zaretskii
2018-01-08 23:05   ` Juri Linkov
2018-01-10 21:34     ` Juri Linkov
2018-01-11 15:50       ` Eli Zaretskii
2018-01-11 21:49         ` Juri Linkov
2018-01-29 21:50           ` Juri Linkov
2018-01-08 23:11   ` Juri Linkov
2018-01-10 21:28     ` Juri Linkov
2018-01-18 21:44   ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).