[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x grep is too slow

From: Richard Stallman
Subject: Re: M-x grep is too slow
Date: Mon, 12 Jul 2004 19:58:09 -0400

    The time is used in `compilation-filter', i.e. by simply inserting the
    strings in the buffer.

That is quite strange.  I suspect this is due to some sort of hook,
because just inserting strings at the end of the buffer will not get
slower.  Is it due to the font-lock mechanism perhaps?

If you run under GDB, you can stop it with C-z from time to time
and make C and Lisp backtraces.  That should give more info about
what is taking the time.

Can you determine precisely which change made this problem appear?

Can someone else join in looking at the problem?
Here's the way to make it fail

       M-x grep -nH -e while emacs/lisp/gnus/*.el

    had not finished in over 20 minutes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]