emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: jit lock sit-for provokes redisplay provokes ime


From: martin rudalics
Subject: Re: address@hidden: Re: jit lock sit-for provokes redisplay provokes imenu]
Date: Fri, 01 Sep 2006 08:41:14 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> What do you mean by "hidden buffer changes"?

From `cc-engine.el':

;; Hidden buffer changes
;;
;; Various functions in CC Mode use text properties for caching and
;; syntactic markup purposes, and those of them that might modify such
;; properties but still don't modify the buffer in a visible way are
;; said to do "hidden buffer changes".  They should be used within
;; `c-save-buffer-state' or a similar function that saves and restores
;; buffer modifiedness, disables buffer change hooks, etc.

For example, `c-beginning-of-defun' and `c-end-of-defun' may trigger
imenu to scan the buffer.  (On my Emacs, they do so sometimes twice in
one and the same call).  Maybe Alan could elaborate on this.  Meanwhile,
grepping for "hidden buffer change" in the progmodes directory should
get you some 150 hits.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]