> 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/ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel