From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: Re: jit lock sit-for provokes redisplay provokes imenu] Date: Fri, 01 Sep 2006 08:41:14 +0200 Message-ID: <44F7D60A.9030609@gmx.at> References: <8764gcde3n.fsf@stupidchicken.com> <878xl754fy.fsf@furball.mit.edu> <44F5D914.3020604@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157093561 20487 80.91.229.2 (1 Sep 2006 06:52:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 06:52:41 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 01 08:52:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJ2tC-00011g-JE for ged-emacs-devel@m.gmane.org; Fri, 01 Sep 2006 08:52:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ2tC-0004Ms-7q for ged-emacs-devel@m.gmane.org; Fri, 01 Sep 2006 02:52:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJ2sS-0003s6-Vi for emacs-devel@gnu.org; Fri, 01 Sep 2006 02:51:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJ2sQ-0003nh-21 for emacs-devel@gnu.org; Fri, 01 Sep 2006 02:51:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ2sP-0003nW-Se for emacs-devel@gnu.org; Fri, 01 Sep 2006 02:51:41 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GJ32C-000080-KS for emacs-devel@gnu.org; Fri, 01 Sep 2006 03:01:48 -0400 Original-Received: (qmail invoked by alias); 01 Sep 2006 06:51:39 -0000 Original-Received: from N764P024.adsl.highway.telekom.at (EHLO [62.47.39.120]) [62.47.39.120] by mail.gmx.net (mp029) with SMTP; 01 Sep 2006 08:51:39 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: rms@gnu.org In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59209 Archived-At: > 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.