commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\302%\210\312\313\314\315\311\306%\210\316\317\320\321\322DD\323\311\306\324\325&\210\316\326\320\321\327DD\330\311\306\324\331&\210\316\332\320\321\333DD\334\311\306\324\335&\210\316\336\320\321\337DD\340\311\306\324\335&\210\316\341\320\321\342DD\343\311\306\324\344&\207" [require cl-lib helm helm-help helm-utils custom-declare-group helm-sys nil "System related helm library." :group custom-declare-face helm-top-columns ((t :inherit helm-header)) "Face for helm help string in minibuffer." custom-declare-variable helm-top-command funcall function #[0 "\301\267\202 \302\207\303\207" [system-type #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (darwin 6)) "env COLUMNS=%s ps -axo pid,user,pri,nice,ucomm,tty,start_time,vsz,%%cpu,%%mem,etime,command" "env COLUMNS=%s top -b -n 1"] 2] "Top command used to display output of top.\nA format string where %s will be replaced with `frame-width'.\n\nTo use 'top' command, a version supporting batch mode (-b option) is needed.\nOn Mac OSX 'top' command doesn't support this, so ps command\nis used instead by default.\nNormally 'top' command output have 12 columns, but in some versions you may\nhave less than this, so you can either customize top to use 12 columns with the\ninteractives 'f' and 'W' commands of top, or modify\n`helm-top-sort-columns-alist' to fit with the number of columns\nyour 'top' command is using.\n\nIf you modify 'ps' command be sure that 'pid' comes in first\nand \"env COLUMNS=%s\" is specified at beginning of command.\nEnsure also that no elements contain spaces (e.g use start_time and not start).\nSame as for 'top' you can customize `helm-top-sort-columns-alist' to make sort commands\nworking properly according to your settings." :type string helm-top-sort-columns-alist #[0 "\300\207" [((com . 11) (mem . 9) (cpu . 8) (user . 1))] 1] "Allow defining which column to use when sorting output of top/ps command.\nOnly com, mem, cpu and user are sorted, so no need to put something else there,\nit will have no effect.\nNote that column numbers are counted from zero, i.e column 1 is the nth 0 column." (alist :key-type symbol :value-type (integer :tag "Column number")) helm-top-poll-delay #[0 "\300\207" [1.5] 1] "Helm top poll after this delay when `helm-top-poll-mode' is enabled.\nThe minimal delay allowed is 1.5, if less than this helm-top will use 1.5." float helm-top-poll-delay-post-command #[0 "\300\207" [1.0] 1] "Helm top stop polling during this delay.\nThis delay is additioned to `helm-top-poll-delay' after emacs stop\nbeing idle." helm-top-poll-preselection #[0 "\300\207" [linum] 1] "Stay on same line or follow candidate when `helm-top-poll' update display.\nPossible values are 'candidate or 'linum.\nThis affect also sorting functions in the same way." (radio :tag "Preferred preselection action for helm-top" (const :tag "Follow candidate" candidate) (const :tag "Stay on same line" linum))] 8) |
|
16 |
(defvar helm-top-sort-fn nil) |
|
17 |
(defvar helm-top-map (byte-code "\301 \302\"\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\211\207" [helm-map make-sparse-keymap set-keymap-parent define-key [134217808] helm-top-run-sort-by-cpu [134217795] helm-top-run-sort-by-com [134217805] helm-top-run-sort-by-mem [134217813] helm-top-run-sort-by-user] 5)) |
|
18 |
#@26 Local hook for helm-top. |
|
19 |
(defvar helm-top-after-init-hook nil (#$ . 3813)) |
|
20 |
(defvar helm-top--poll-timer nil) |
|
21 |
#@34 |
|
22 |
|
|
23 |
(fn &optional NO-UPDATE DELAY) |
|
24 |
(defalias 'helm-top-poll #[512 "\203 \302!\210\3031k \304 \203G \204G \305\306 \307\"\203* \310\311\211\312\313\314\315\"!#\202E \306 \316\"\203< |