[Top][All Lists]

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

Re: M-x grep is too slow

From: Eli Zaretskii
Subject: Re: M-x grep is too slow
Date: Tue, 13 Jul 2004 07:00:58 +0200

> Date: Tue, 13 Jul 2004 09:36:47 +0900 (JST)
> From: Kenichi Handa <address@hidden>
> I tried the above but it finished quite soon.   But, when I tried:
>         M-x grep -nH -e while emacs/lisp/*/*.el
> it took long time.  So, I turned off global-font-lock-mode
> and tried again.  But, *grep* buffer is fontified.   Isn't
> it a bug?  Anyway, I tried this:
> (add-hook 'grep-mode-hook #'(lambda () (font-lock-mode -1)))
> Then the above grep also finished quite soon.  So, yes,
> font-lock seems to be the culprit.

Perhaps instrumenting font-lock with elp and running the same test
will show what part(s) of font-lock cause this.

reply via email to

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