emacs-devel
[Top][All Lists]
Advanced

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

Re: grep.el regexp


From: Juri Linkov
Subject: Re: grep.el regexp
Date: Tue, 28 Jun 2005 02:57:29 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>     This approach has one problem: different rules in grep-regexp-alist
>     are not mutually exclusive, so information from different regexps can
>     appear in grep buffers from similar regexps.  In the worst case
>     this can cause subsequent calls of `next-error' revisiting the
>     same source line several times for each of separate regexps.
>
> If that can happen, it is a bug in compile.el.
> It should never find more than one match on any given line.

Currently it puts information from different rules on the same line
when regexps cover different parts of that line (it works this way due
to the font-lock algorithms).

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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