Function: proced-why
proced-why is an interactive and byte-compiled function defined in
proced.el.gz.
Signature
(proced-why)
Documentation
Pop up a buffer with error log output from Proced.
A group of errors from a single command ends with a formfeed.
Thus, use C-x [ (backward-page) to find the beginning of a group of errors.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/proced.el.gz
;; similar to `dired-why'
(defun proced-why ()
"Pop up a buffer with error log output from Proced.
A group of errors from a single command ends with a formfeed.
Thus, use \\[backward-page] to find the beginning of a group of errors."
(interactive)
(if (get-buffer proced-log-buffer)
(save-selected-window
;; move `proced-log-buffer' to the front of the buffer list
(select-window (display-buffer (get-buffer proced-log-buffer)))
(setq truncate-lines t)
(set-buffer-modified-p nil)
(setq buffer-read-only t)
(goto-char (point-max))
(forward-line -1)
(backward-page 1)
(recenter 0))))