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: 21 Jul 2004 10:36:22 +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 1090398982 6996 80.91.224.253 (21 Jul 2004 08:36:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2004 08:36:22 +0000 (UTC) Cc: harder@ifa.au.dk, emacs-devel@gnu.org, monnier@iro.umontreal.ca, handa@m17n.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 21 10:36:13 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 1BnCaD-0000TO-00 for ; Wed, 21 Jul 2004 10:36:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnCcz-0003AS-0d for ged-emacs-devel@m.gmane.org; Wed, 21 Jul 2004 04:39:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BnCcg-000356-L1 for emacs-devel@gnu.org; Wed, 21 Jul 2004 04:38:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BnCcd-0002y2-Cz for emacs-devel@gnu.org; Wed, 21 Jul 2004 04:38:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BnCcd-0002xl-8B for emacs-devel@gnu.org; Wed, 21 Jul 2004 04:38:43 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1BnCZn-0005Xk-S6 for emacs-devel@gnu.org; Wed, 21 Jul 2004 04:35:48 -0400 Original-Received: (qmail 54761 invoked from network); 21 Jul 2004 08:35:45 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 21 Jul 2004 08:35:45 -0000 Original-To: rms@gnu.org In-Reply-To: Original-Lines: 20 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:25860 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25860 Richard Stallman writes: > > 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... > > Is this slowness in font-lock or is it in compile.el? I don't really know. The code that calls previous-single-property-change is in compile.el, but it could be that the code is actually called by font-lock. In any case, the 'message and 'directory properties are local to compile.el, so I would suppose that the caching (if possible) would have to be done in compile.el. Maybe someone who better understands the new compile.el could comment on this.