Function: process-menu-mode

process-menu-mode is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(process-menu-mode)

Documentation

Major mode for listing the processes called by Emacs.

In addition to any hooks its parent mode tabulated-list-mode might have run, this mode runs the hook process-menu-mode-hook, as the final or penultimate step during initialization.

d process-menu-delete-process

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(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)
                               ;; 25 is the length of the long standard buffer
                               ;; 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))
  (add-hook 'tabulated-list-revert-hook 'list-processes--refresh nil t))