From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: M-x grep is too slow Date: 19 Jul 2004 16:46:28 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200407130036.JAA04111@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090248400 20954 80.91.224.253 (19 Jul 2004 14:46:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Jul 2004 14:46:40 +0000 (UTC) Cc: harder@ifa.au.dk, emacs-devel@gnu.org, monnier@iro.umontreal.ca, handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 19 16:46:26 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BmZPN-000747-00 for ; Mon, 19 Jul 2004 16:46:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmZS3-0004SS-W9 for ged-emacs-devel@m.gmane.org; Mon, 19 Jul 2004 10:49:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BmZRx-0004SN-UQ for emacs-devel@gnu.org; Mon, 19 Jul 2004 10:49:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BmZRw-0004SB-EC for emacs-devel@gnu.org; Mon, 19 Jul 2004 10:49:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmZRw-0004S8-CH for emacs-devel@gnu.org; Mon, 19 Jul 2004 10:49:04 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1BmZOs-0007Ki-IY for emacs-devel@gnu.org; Mon, 19 Jul 2004 10:45:55 -0400 Original-Received: (qmail 50240 invoked from network); 19 Jul 2004 14:45:53 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 19 Jul 2004 14:45:53 -0000 Original-To: rms@gnu.org In-Reply-To: Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25841 Richard Stallman writes: > Looking with a debugger, a lot of time is spent in > previous-single-property-change. > > Maybe caching the last position of `directory' and `message' properties > would make a difference ? > > Do you mean caching at the Lisp level inside Font-Lock mode? > That might be easy to do. I was thinking about doing it explicitly in compile.el... > > Where is previous-single-property-change being called from? > Maybe a change there is what we need. > There are only a few calls in compile.el, so it cannot be too hard to see what's needed. However, there seem to be a call hidden in a macro so it may not be trivial. I'll leave it to the experts. > > Aside from that, I have a feeling it is wrong for Compilation > mode to turn on Font-Lock mode by default. This nonuniformity > in the control of Font-Lock mode seems wrong. I think so too. -- Kim F. Storm http://www.cua.dk