Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b7adc2f2
Commit
b7adc2f2
authored
Jun 07, 2016
by
Tino Calancha
Committed by
Glenn Morris
Jun 07, 2016
Browse files
* lisp/simple.el (process-menu-mode, list-processes--refresh):
Include PID. (Bug#21725)
parent
62564a6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/simple.el
lisp/simple.el
+3
-1
No files found.
lisp/simple.el
View file @
b7adc2f2
...
...
@@ -3765,6 +3765,7 @@ support pty association, if PROGRAM is nil."
(define-derived-mode process-menu-mode tabulated-list-mode "Process Menu"
"Major mode for listing the processes called by Emacs."
(setq tabulated-list-format [("Process" 15 t)
("PID" 7 t)
("Status" 7 t)
("Buffer" 15 t)
("TTY" 12 t)
...
...
@@ -3796,6 +3797,7 @@ Also, delete any process that is exited or signaled."
(process-query-on-exit-flag p))
(let* ((buf (process-buffer p))
(type (process-type p))
(pid (if (process-id p) (format "%d" (process-id p)) "--"))
(name (process-name p))
(status (symbol-name (process-status p)))
(buf-label (if (buffer-live-p buf)
...
...
@@ -3831,7 +3833,7 @@ Also, delete any process that is exited or signaled."
(format " at %s b/s" speed)
"")))))
(mapconcat 'identity (process-command p) " "))))
(push (list p (vector name status buf-label tty cmd))
(push (list p (vector name
pid
status buf-label tty cmd))
tabulated-list-entries))))))
(defun process-menu-visit-buffer (button)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment