From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Advising in cc-awk.el and namespace Date: Fri, 11 Jul 2003 13:21:53 -0400 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1057944166 11321 80.91.224.249 (11 Jul 2003 17:22:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2003 17:22:46 +0000 (UTC) Cc: monnier+gnu/emacs/pretest@cs.yale.edu, bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Fri Jul 11 19:22:43 2003 Return-path: Original-Received: from lists.sourceforge.net ([66.35.250.206] helo=sc8-sf-list2.sourceforge.net) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19b1an-0002ss-00 for ; Fri, 11 Jul 2003 19:21:57 +0200 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19b1bo-0002wq-00; Fri, 11 Jul 2003 10:23:00 -0700 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19b1al-0000Ar-00 for ; Fri, 11 Jul 2003 10:21:56 -0700 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19b1aj-00053D-JK; Fri, 11 Jul 2003 13:21:53 -0400 Original-To: Alan Mackenzie In-reply-to: (message from Alan Mackenzie on Thu, 10 Jul 2003 19:31:48 +0000 (GMT)) Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Unsubscribe: , List-Archive: X-Original-Date: Fri, 11 Jul 2003 13:21:53 -0400 Xref: main.gmane.org gmane.emacs.cc-mode.general:655 gmane.emacs.devel:15543 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15543 load a large file (say, ..../emacs/src/keyboard.c) wait for jit-lock to finish fontifying it in the background, then make a small change near the beginning of this file, needlessly refontifying ~320kBytes consumes ~55% of the CPU's power for 3½ minutes. Why does a small change near the beginning refontify the whole file? I suppose there are some small changes that might legitimately do so, but I would not expect most small changes to do so. What's up? I'm talking about the jit-lock that was shipped with Emacs 21.1. Can you please try the latest version? It is the only way to give useful feedback. ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1