`query-replace' follows the `how-many' algorithm. If you do not replace the match on line one, it does not offer to replace the match on line two in the same example buffer:
11 11 11 11 11 So it does seem that occur is the one with exceptional behavior. Things should be unambiguous for regexps whose matches do not overlap. Hpowever, in the _second_ example I gave where occur seemed at the very least to contradict its own docstring, there were no overlapping matches. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-devel
