On Sun, 20 Mar 2022 at 21:24, Juri Linkov wrote: > Could you please split it to more logically separate patches? > > 1. a patch that removes checks for 'isearch-mode (null isearch-message-function)' > and adds '(setq-local isearch-lazy-count nil)'. > It could also contain more changes in comint.el etc > from your earlier patch from 14 May 2021. > > 2. a patch that adds and runs 'lazy-count-update-hook'. > > 3. a patch with minibuffer-lazy-highlight feature in isearch.el. > > Then what will remain to do is to decide how it would be better to activate > the minibuffer-lazy-highlight feature. Okay. Points 1 and 2 are hard to disentangle, and 1 strictly is only necessary because of 2. Also, separating things further risks introducing bugs in code that has been tested quite a bit by now. So my patch 00001 is for your points 1 and 2, patch 0002 is for point 3, and patch 0003 adds lazy highlight to isearch-edit-string, where I guess there is no controversy about what the configuration variables should be. Feel free to copy-edit my patches before merging if desired.