%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/semantic/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/semantic/idle.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\207" [require semantic semantic/ctxt semantic/format semantic/tag semantic/analyze timer] 2) #@44 Timer used to schedule tasks in idle time. (defvar semantic-idle-scheduler-timer nil (#$ . 588)) #@66 Timer used to schedule tasks in idle time that may take a while. (defvar semantic-idle-scheduler-work-timer nil (#$ . 691)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\313\314\315& \210\300\316\317\320\304\305\306\313\314\321& \207" [custom-declare-variable semantic-idle-scheduler-verbose-flag nil "Non-nil means that the idle scheduler should provide debug messages.\nUse this setting to debug idle activities." :group semantic :type boolean semantic-idle-scheduler-idle-time 1 "Time in seconds of idle before scheduling events.\nThis time should be short enough to ensure that idle-scheduler will be\nrun as soon as Emacs is idle." number :set #[(sym val) "\303 \"\210\304\n!\205 \305\n!\210\306\307 \207" [sym val semantic-idle-scheduler-timer set-default timerp cancel-timer nil semantic-idle-scheduler-setup-timers] 3] semantic-idle-scheduler-work-idle-time 60 "Time in seconds of idle before scheduling big work.\nThis time should be long enough that once any big work is started,\nit is unlikely the user would be ready to type again right away." #[(sym val) "\303 \"\210\304\n!\205 \305\n!\210\306\307 \207" [sym val semantic-idle-scheduler-timer set-default timerp cancel-timer nil semantic-idle-scheduler-setup-timers] 3]] 10) #@51 Lazy initialization of the auto parse idle timer. (defalias 'semantic-idle-scheduler-setup-timers #[nil "\304!\204\f \305 \306\307#\304\n!\206 \305\306\310#\211\207" [semantic-idle-scheduler-timer semantic-idle-scheduler-idle-time semantic-idle-scheduler-work-timer semantic-idle-scheduler-work-idle-time timerp run-with-idle-timer t semantic-idle-scheduler-function semantic-idle-scheduler-work-function] 4 (#$ . 1976)]) #@33 Kill the auto parse idle timer. (defalias 'semantic-idle-scheduler-kill-timer #[nil "\301!\203\n \302!\210\303\211\207" [semantic-idle-scheduler-timer timerp cancel-timer nil] 2 (#$ . 2409)]) #@69 Hook run at the end of the function `semantic-idle-scheduler-mode'. (custom-declare-variable 'semantic-idle-scheduler-mode-hook nil '(#$ . 2610) :group 'semantic :type 'hook) #@122 Non-nil if idle-scheduler minor mode is enabled. Use the command `semantic-idle-scheduler-mode' to change this variable. (defvar semantic-idle-scheduler-mode nil (#$ . 2792)) (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\207" [make-variable-buffer-local semantic-idle-scheduler-mode custom-declare-variable semantic-idle-scheduler-max-buffer-size 0 "Maximum size in bytes of buffers where idle-scheduler is enabled.\nIf this value is less than or equal to 0, idle-scheduler is enabled in\nall buffers regardless of their size." :group semantic :type number] 8) #@191 Return non-nil if idle-scheduler is enabled for this buffer. idle-scheduler is disabled when debugging or if the buffer size exceeds the `semantic-idle-scheduler-max-buffer-size' threshold. (defalias 'semantic-idle-scheduler-enabled-p #[nil ";\205 \306!\n\205B \307\303!\205 ?\205B \f?\205B \204, ;\203, \310!\2048 \205B \306\311\312#\205B \313X\206B \314 W)\207" [buffer-file-name remote-file\? semantic-idle-scheduler-mode semantic-debug-enabled semantic-lex-debug semantic-idle-scheduler-max-buffer-size file-remote-p boundp file-exists-p nil t 0 buffer-size] 4 (#$ . 3374)]) (put 'semantic-idle-scheduler-enabled-p 'byte-optimizer 'byte-compile-inline-expand) #@125 Non-nil if Semantic-Idle-Scheduler mode is enabled. Use the command `semantic-idle-scheduler-mode' to change this variable. (defvar semantic-idle-scheduler-mode nil (#$ . 4058)) (make-variable-buffer-local 'semantic-idle-scheduler-mode) #@737 Minor mode to auto parse buffer following a change. When this mode is off, a buffer is only rescanned for tokens when some command requests the list of available tokens. When idle-scheduler is enabled, Emacs periodically checks to see if the buffer is out of date, and reparses while the user is idle (not typing.) If called interactively, enable Semantic-Idle-Scheduler mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. The minor mode can be turned on only if semantic feature is available and the current buffer was set up for parsing. Return non-nil if the minor mode is enabled. (defalias 'semantic-idle-scheduler-mode #[(&optional arg) "\305 \306=\203 \n?\202 \307 !\310V\211\2030 \311\312!\203\"