Next: , Previous: SemanticDB, Up: Using Semantic

2.3 Idle Scheduler

The Semantic Idle Scheduler is a part of Semantic that performs various operations while Emacs is waiting for user input (idle time). Its primary job is to perform buffer parsing during idle time. You can also use the Idle Scheduler to display function prototypes (see Idle Summary Mode) or symbol completions (see Idle Completions Mode).

— Command: global-semantic-idle-scheduler-mode &optional arg

This command toggles Semantic Idle Scheduler mode in every Semantic-enabled buffer. This minor mode ensures that the buffer is automatically reparsed whenever Emacs is idle. If there is additional idle time, it runs jobs scheduled by other parts of Semantic, such as Semantic Idle Summary mode (see Idle Summary Mode) and Semantic Idle Completions mode (see Idle Completions Mode).

— Option: semantic-idle-scheduler-idle-time

The value of this variable is the amount of idle time, in seconds, before the Semantic idle scheduler activates. The default is 1.

— Option: semantic-idle-scheduler-verbose-flag

If this variable is non-nil, the idle scheduler prints verbose messages while running, which are useful for debugging.