;; name "*Async Shell Command*<10>" (bug#30016)
("Buffer" 25 t)
("TTY" 12 t)
+ ("Thread" 12 t)
("Command" 0 t)])
(make-local-variable 'process-menu-query-only)
(setq tabulated-list-sort-key (cons "Process" nil))
action process-menu-visit-buffer)
"--"))
(tty (or (process-tty-name p) "--"))
+ (thread
+ (cond
+ ((null (process-thread p)) "--")
+ ((eq (process-thread p) main-thread) "Main")
+ ((thread-name (process-thread p)))))
(cmd
(if (memq type '(network serial))
(let ((contact (process-contact p t)))
(format " at %s b/s" speed)
"")))))
(mapconcat 'identity (process-command p) " "))))
- (push (list p (vector name pid status buf-label tty cmd))
+ (push (list p (vector name pid status buf-label tty thread cmd))
tabulated-list-entries)))))
(tabulated-list-init-header))