On Sun, 20 Mar 2022 at 20:51, Juri Linkov wrote: > Sorry, I have no idea who and how might want to use lazy-highlighting > in the minibuffer. I'd just provide a hook that any user can add > to the minibuffer-setup-hook, or any package author can add > to minibuffer-with-setup-hook. But in any case we need more opinions. All right, I think this brings us back to the original idea: we add lazy highlight to query-replace now and decide later about the other commands in replace.el. I've attached an updated patch that applies over the already merged changes. Juri: you mentioned the idea of adding a new option `query-replace-read-lazy-highlight'. This is easier to add then remove in the future, so my suggestion would be to first wait and see if anyone actually needs that option. For now lazy highlight when reading the query-replace args is controlled by the good old `query-replace-lazy-highlight'.