[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x grep is too slow
From: |
Kim F. Storm |
Subject: |
Re: M-x grep is too slow |
Date: |
19 Jul 2004 16:46:28 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Richard Stallman <address@hidden> 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 <address@hidden> http://www.cua.dk
- Re: M-x grep is too slow, Richard Stallman, 2004/07/12
- Re: M-x grep is too slow, Kenichi Handa, 2004/07/12
- Re: M-x grep is too slow, Eli Zaretskii, 2004/07/13
- Re: M-x grep is too slow, Stefan Monnier, 2004/07/13
- Re: M-x grep is too slow, Kim F. Storm, 2004/07/16
- Re: M-x grep is too slow, Richard Stallman, 2004/07/17
- Re: M-x grep is too slow,
Kim F. Storm <=
- Re: M-x grep is too slow, Richard Stallman, 2004/07/20
- Re: M-x grep is too slow, Kim F. Storm, 2004/07/21
- Re: M-x grep is too slow, Richard Stallman, 2004/07/22
Re: M-x grep is too slow, Richard Stallman, 2004/07/13
Re: M-x grep is too slow, Richard Stallman, 2004/07/13