1

According to the Semantic docs, semantic-edit.el is the file which handles all incremental parsing. I see frequent incremental parse errors(not information messages, since I have semantic-edits-verbose-flag nil) and would like to set a minimum time interval between consecutive reparses of my cpp files. Other than semantic-edits-verbose-flag, I don't see any defcustom's in semantic-edit.el. Is there a way of customizing this behaviour?

  • Have you tried semantic-idle-scheduler-idle-time? Semantic should parse only when Emacs is idle. – Tu Do Dec 30 '14 at 10:47
  • @TuDo That did the trick. Could you post it as an answer? – Pradhan Dec 30 '14 at 12:06
2

Semantic should parse only when Emacs is idle. The variable semantic-idle-scheduler-idle-time is the amount of idle time, in seconds, before the Semantic idle scheduler activates.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.