Hello,

I read the documentation for semantic-idle-scheduler-mode, which is used
in semantic-idle-scheduler-enabled-p.

"semantic-idle-scheduler-mode is an interactive compiled Lisp function in `semantic-idle'.
(semantic-idle-scheduler-mode &optional ARG)


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.)

With prefix argument ARG, turn on if positive, otherwise off.  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."

If I understand the last paragraph correctly, it must be possible to make the semantic feature (temporarily) unavailable and to "unset" a buffer for parsing.

I want to be able to switch off semantic because I will be working on a slower machine for a couple of months and semantic's parsing constantly interrupts my editing (which kind of freaks me out).

Guy

Eric M. Ludlam wrote:
Guy Thomas <[EMAIL PROTECTED]> seems to think that:

How can I temporarily switch off semantic?

Right now I do this by setting semantic-idle-scheduler-idle-time
to a high value (20000), but I suppose there must be a cleaner way to do this?




Hi,

 Look at the code for semantic-idle-scheduler-enabled-p.  If
 there is some missing feature needed, that could be arranged.

Eric


-- Guy Thomas [EMAIL PROTECTED] fks bvba - Formal and Knowledge Systems http://www.fks.be/ Stationsstraat 108 Tel: ++32-(0)11-21 49 11 B-3570 ALKEN Fax: ++32-(0)11-22 04 19

Reply via email to