Of course, in my previous message, with "overlapping matches", I meant overlapping _multiline_ matches.
The current occur implementation treats overlapping _one-line_ matches according to the same philosophy as the one I propose for multiline matches, which is one further argument for my proposal. The _current_ occur implementation shows the line only once and the only matches that are highlighted are the ones that match according to the C-M-s philosophy. For example, with a buffer containing only "111", with the current occur, after `M-x occur RET 11 RET", the highlighting only finds a match at position 1, not at position 2. To be consistent with the way it currently treats multiline overlapping matches, occur should show the line enough times to highlight all overlapping matches without overlap in their highlighting. I am starting to wonder whether the change from the Emacs 21 behavior in the multiline case was really intentional. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel