From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: Re: jit lock sit-for provokes redisplay provokes imenu] Date: Fri, 01 Sep 2006 08:47:15 -0400 Message-ID: References: <8764gcde3n.fsf@stupidchicken.com> <878xl754fy.fsf@furball.mit.edu> <44F5D914.3020604@gmx.at> <44F7D60A.9030609@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1157114876 28154 80.91.229.2 (1 Sep 2006 12:47:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 12:47:56 +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 14:47:54 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 1GJ8R7-0003G9-Rz for ged-emacs-devel@m.gmane.org; Fri, 01 Sep 2006 14:47:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ8R7-0006mA-CT for ged-emacs-devel@m.gmane.org; Fri, 01 Sep 2006 08:47:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJ8QX-0006MM-TP for emacs-devel@gnu.org; Fri, 01 Sep 2006 08:47:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJ8QX-0006LA-7B for emacs-devel@gnu.org; Fri, 01 Sep 2006 08:47:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ8QX-0006L0-0D for emacs-devel@gnu.org; Fri, 01 Sep 2006 08:47:17 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJ8aN-0000qc-Ej for emacs-devel@gnu.org; Fri, 01 Sep 2006 08:57:27 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GJ8QV-0006jP-No; Fri, 01 Sep 2006 08:47:15 -0400 Original-To: martin rudalics In-reply-to: <44F7D60A.9030609@gmx.at> (message from martin rudalics on Fri, 01 Sep 2006 08:41:14 +0200) 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:59221 Archived-At: For example, `c-beginning-of-defun' and `c-end-of-defun' may trigger imenu to scan the buffer. These changes are made by editing commands, so they won't happen repeatedly while Emacs is idle. Thus, they are not the same sort of grave problem as stealth fontification. Howver, I agree it would be good to handle them for imenu. Modifying c-save-buffer-state could be an easy way to do that, but I agree that a general solution such as buffer-chars-modified-tick would be nice.