File: idle.el.html

Originally, semantic-auto-parse-mode handled refreshing the tags in a buffer in idle time. Other activities can be scheduled in idle time, all of which require up-to-date tag tables. Having a specialized idle time scheduler that first refreshes the tags buffer, and then enables other idle time tasks reduces the amount of work needed. Any specialized idle tasks need not ask for a fresh tags list.

NOTE ON SEMANTIC_ANALYZE

Some of the idle modes use the semantic analyzer. The analyzer automatically caches the created context, so it is shared amongst all idle modes that will need it.

Defined variables (45)

global-semantic-idle-breadcrumbs-modeNon-nil if Global Semantic-Idle-Breadcrumbs mode is enabled.
global-semantic-idle-breadcrumbs-mode-hookHook run after entering or leaving ‘global-semantic-idle-breadcrumbs-mode’.
global-semantic-idle-completions-modeNon-nil if Global Semantic-Idle-Completions mode is enabled.
global-semantic-idle-completions-mode-hookHook run after entering or leaving ‘global-semantic-idle-completions-mode’.
global-semantic-idle-local-symbol-highlight-modeNon-nil if Global Semantic-Idle-Local-Symbol-Highlight mode is enabled.
global-semantic-idle-local-symbol-highlight-mode-hookHook run after entering or leaving ‘global-semantic-idle-local-symbol-highlight-mode’.
global-semantic-idle-scheduler-modeNon-nil if Global Semantic-Idle-Scheduler mode is enabled.
global-semantic-idle-scheduler-mode-hookHook run after entering or leaving ‘global-semantic-idle-scheduler-mode’.
global-semantic-idle-summary-modeNon-nil if Global Semantic-Idle-Summary mode is enabled.
global-semantic-idle-summary-mode-hookHook run after entering or leaving ‘global-semantic-idle-summary-mode’.
semantic-after-idle-scheduler-reparse-hookHook run after option ‘semantic-idle-scheduler’ has parsed.
semantic-before-idle-scheduler-reparse-hookHook run before option ‘semantic-idle-scheduler’ begins parsing.
semantic-idle-breadcrumbs-display-functionFunction to display the tag under point in idle time.
semantic-idle-breadcrumbs-format-tag-functionFunction to call to format information about tags.
semantic-idle-breadcrumbs-format-tag-list-functionFunction to format the list of tags containing point.
semantic-idle-breadcrumbs-header-line-prefixString used to indent the breadcrumbs string.
semantic-idle-breadcrumbs-modeNon-nil if Semantic-Idle-Breadcrumbs mode is enabled.
semantic-idle-breadcrumbs-mode-hookHook run at the end of function ‘semantic-idle-breadcrumbs-mode’.
semantic-idle-breadcrumbs-mode-mapKeymap for ‘semantic-idle-breadcrumbs-mode’.
semantic-idle-breadcrumbs-popup-mapKeymap for semantic idle breadcrumbs minor mode.
semantic-idle-breadcrumbs-popup-menuSemantic Breadcrumbs Mode Menu.
semantic-idle-breadcrumbs-separatorSpecify how to separate tags in the breadcrumbs string.
semantic-idle-completions-modeNon-nil if Semantic-Idle-Completions mode is enabled.
semantic-idle-completions-mode-hookHook run at the end of function ‘semantic-idle-completions-mode’.
semantic-idle-completions-mode-mapKeymap for ‘semantic-idle-completions-mode’.
semantic-idle-local-symbol-highlight-modeNon-nil if Semantic-Idle-Local-Symbol-Highlight mode is enabled.
semantic-idle-local-symbol-highlight-mode-hookHook run at the end of function ‘semantic-idle-local-symbol-highlight-mode’.
semantic-idle-local-symbol-highlight-mode-mapKeymap for ‘semantic-idle-local-symbol-highlight-mode’.
semantic-idle-scheduler-idle-timeTime in seconds of idle before scheduling events.
semantic-idle-scheduler-max-buffer-sizeMaximum size in bytes of buffers where idle-scheduler is enabled.
semantic-idle-scheduler-modeNon-nil if Semantic-Idle-Scheduler mode is enabled.
semantic-idle-scheduler-mode-hookHook run at the end of the function ‘semantic-idle-scheduler-mode’.
semantic-idle-scheduler-queueList of functions to execute during idle time.
semantic-idle-scheduler-timerTimer used to schedule tasks in idle time.
semantic-idle-scheduler-verbose-flagNon-nil means that the idle scheduler should provide debug messages.
semantic-idle-scheduler-work-idle-timeTime in seconds of idle before scheduling big work.
semantic-idle-scheduler-work-timerTimer used to schedule tasks in idle time that may take a while.
semantic-idle-summary-functionFunction to call when displaying tag information during idle time.
semantic-idle-summary-modeNon-nil if Semantic-Idle-Summary mode is enabled.
semantic-idle-summary-mode-hookHook run at the end of ‘semantic-idle-summary’.
semantic-idle-summary-out-of-context-facesList of font-lock faces that indicate a useless summary context.
semantic-idle-symbol-highlight-faceFace used for highlighting local symbols.
semantic-idle-truncate-long-summariesTruncate summaries that are too long to fit in the minibuffer.
semantic-idle-work-parse-neighboring-files-flagNon-nil means to parse files in the same dir as the current buffer.
semantic-idle-work-update-headers-flagNon-nil means to parse through header files in idle time.

Defined functions (48)

define-semantic-idle-service(NAME DOC &rest FORMS)
global-semantic-idle-breadcrumbs-mode(&optional ARG)
global-semantic-idle-completions-mode(&optional ARG)
global-semantic-idle-local-symbol-highlight-mode(&optional ARG)
global-semantic-idle-scheduler-mode(&optional ARG)
global-semantic-idle-summary-mode(&optional ARG)
semantic--eldoc-info(CALLBACK &rest _)
semantic-debug-idle-function()
semantic-debug-idle-work-function()
semantic-idle-breadcrumbs--display-in-header-line(TAG-LIST)
semantic-idle-breadcrumbs--display-in-mode-line(TAG-LIST)
semantic-idle-breadcrumbs--format-innermost-first(TAG-LIST &optional MAX-LENGTH)
semantic-idle-breadcrumbs--format-linear(TAG-LIST &optional MAX-LENGTH)
semantic-idle-breadcrumbs--format-tag(TAG &optional FORMAT-FUNCTION)
semantic-idle-breadcrumbs--format-tag-list(TAG-LIST MAX-LENGTH)
semantic-idle-breadcrumbs--popup-menu(EVENT)
semantic-idle-breadcrumbs--tag-function(FUNCTION)
semantic-idle-breadcrumbs-idle-function()
semantic-idle-breadcrumbs-mode(&optional ARG)
semantic-idle-breadcrumbs-popup-menu(ARG1)
semantic-idle-completion-list-default()
semantic-idle-completions-end-of-symbol-p()
semantic-idle-completions-idle-function()
semantic-idle-completions-mode(&optional ARG)
semantic-idle-core-handler()
semantic-idle-local-symbol-highlight-idle-function()
semantic-idle-local-symbol-highlight-mode(&optional ARG)
semantic-idle-scheduler-add(FUNCTION)
semantic-idle-scheduler-enabled-p()
semantic-idle-scheduler-function()
semantic-idle-scheduler-kill-timer()
semantic-idle-scheduler-mode(&optional ARG)
semantic-idle-scheduler-refresh-tags()
semantic-idle-scheduler-remove(FUNCTION)
semantic-idle-scheduler-setup-timers()
semantic-idle-scheduler-work-function()
semantic-idle-scheduler-work-parse-neighboring-files()
semantic-idle-summary-current-symbol-info()
semantic-idle-summary-current-symbol-info-brutish()
semantic-idle-summary-current-symbol-info-context()
semantic-idle-summary-current-symbol-info-default()
semantic-idle-summary-current-symbol-keyword()
semantic-idle-summary-find-current-symbol-tag(SYM)
semantic-idle-summary-mode(&optional ARG)
semantic-idle-summary-useful-context-p()
semantic-idle-symbol-maybe-highlight(TAG)
semantic-idle-work-core-handler()
semantic-idle-work-for-one-buffer(BUFFER)

Defined faces (0)