On Fri, 1 Apr 2022 at 19:35, Juri Linkov wrote: > Why do you think query-replace is more complex than other minibuffer commands? > Other minibuffer commands need to set all the same a dozen of variables that > control lazy highlighting. Otherwise, they will highlight some random matches > that happen to reuse values left from a previous isearch. Without having tested, the lazy highlight feature for occur would only require the addition of 4 lines: