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: jit lock sit-for provokes redisplay provokes imenu Date: Thu, 20 Jul 2006 18:41:33 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1153435347 11490 80.91.229.2 (20 Jul 2006 22:42:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Jul 2006 22:42:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 21 00:42:25 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 1G3hDq-0003X7-64 for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 00:42:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3hDp-0006Q8-M9 for ged-emacs-devel@m.gmane.org; Thu, 20 Jul 2006 18:42:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G3hD5-00069V-R5 for emacs-devel@gnu.org; Thu, 20 Jul 2006 18:41:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G3hD5-000698-8l for emacs-devel@gnu.org; Thu, 20 Jul 2006 18:41:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3hD5-000691-1T for emacs-devel@gnu.org; Thu, 20 Jul 2006 18:41:35 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G3hDM-0004mK-8q for emacs-devel@gnu.org; Thu, 20 Jul 2006 18:41:52 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1G3hD3-0002az-U4; Thu, 20 Jul 2006 18:41:34 -0400 Original-To: "Drew Adams" In-reply-to: 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:57402 Archived-At: It could be a function buffer-chars-modified-tick, which records the value of buffer-modified-tick as of the last change in the characters in the buffer. I don't really mean to meddle here, but we talked about distinguishing text changes from things like text-properties changes, for purposes of undo and indicating buffer modification in the mode line - after the release. This change, with the design I proposed, is so simple that it can't break anything. It would enable us to get rid of a gross inefficiency, which is a kind of bug. So I think we should do it now. Would someone like to implement it?