Mercurial > emacs
comparison lisp/cedet/semantic/idle.el @ 104519:934691bc93ed
* cedet/semantic/idle.el (semantic-idle-scheduler-work-timer):
Change timeout to 1. Doc fix.
* cedet/semantic/edit.el (semantic-change-hooks): Add
semantic-edits-change-function-handle-changes directly.
* cedet/semantic/util.el (semantic--completion-cache): Move to
semantic.el.
(semantic-symbol-start): Remove unneeded function.
* cedet/semantic.el (semantic--completion-cache): Move here from
semantic/util.el
(semantic-clear-toplevel-cache, semantic--set-buffer-cache)
(semantic-fetch-tags): Reset semantic--completion-cache.
(semantic-force-refresh): New function
(semantic-mode-map): New variable.
* cedet/semantic/senator.el: New file.
* cedet/ede.el: Fix autoload.
(ede-customize-forms-menu): Handle null projects.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 27 Sep 2009 03:36:58 +0000 |
parents | c65d65798b34 |
children | bbd7017a25d9 |
comparison
equal
deleted
inserted
replaced
104518:78d37f6e576f | 104519:934691bc93ed |
---|---|
67 | 67 |
68 (defvar semantic-idle-scheduler-work-timer nil | 68 (defvar semantic-idle-scheduler-work-timer nil |
69 "Timer used to schedule tasks in idle time that may take a while.") | 69 "Timer used to schedule tasks in idle time that may take a while.") |
70 | 70 |
71 (defcustom semantic-idle-scheduler-verbose-flag nil | 71 (defcustom semantic-idle-scheduler-verbose-flag nil |
72 "*Non-nil means that the idle scheduler should provide debug messages. | 72 "Non-nil means that the idle scheduler should provide debug messages. |
73 Use this setting to debug idle activities." | 73 Use this setting to debug idle activities." |
74 :group 'semantic | 74 :group 'semantic |
75 :type 'boolean) | 75 :type 'boolean) |
76 | 76 |
77 (defcustom semantic-idle-scheduler-idle-time 2 | 77 (defcustom semantic-idle-scheduler-idle-time 1 |
78 "*Time in seconds of idle before scheduling events. | 78 "Time in seconds of idle before scheduling events. |
79 This time should be short enough to ensure that idle-scheduler will be | 79 This time should be short enough to ensure that idle-scheduler will be |
80 run as soon as Emacs is idle." | 80 run as soon as Emacs is idle." |
81 :group 'semantic | 81 :group 'semantic |
82 :type 'number | 82 :type 'number |
83 :set (lambda (sym val) | 83 :set (lambda (sym val) |
86 (cancel-timer semantic-idle-scheduler-timer) | 86 (cancel-timer semantic-idle-scheduler-timer) |
87 (setq semantic-idle-scheduler-timer nil) | 87 (setq semantic-idle-scheduler-timer nil) |
88 (semantic-idle-scheduler-setup-timers)))) | 88 (semantic-idle-scheduler-setup-timers)))) |
89 | 89 |
90 (defcustom semantic-idle-scheduler-work-idle-time 60 | 90 (defcustom semantic-idle-scheduler-work-idle-time 60 |
91 "*Time in seconds of idle before scheduling big work. | 91 "Time in seconds of idle before scheduling big work. |
92 This time should be long enough that once any big work is started, it is | 92 This time should be long enough that once any big work is started, it is |
93 unlikely the user would be ready to type again right away." | 93 unlikely the user would be ready to type again right away." |
94 :group 'semantic | 94 :group 'semantic |
95 :type 'number | 95 :type 'number |
96 :set (lambda (sym val) | 96 :set (lambda (sym val) |