Below a response to your last message. On Sat, 2 Apr 2022 at 21:23, Juri Linkov wrote: >> - The value of case-fold-search can change on the fly > > Please clarify when it can be changed on the fly. I refer to the following lines of my patch, which are necessary. (when (and case-fold-search search-upper-case) (setq isearch-case-fold-search (isearch-no-upper-case-p from-string regexp-flag))) (Incidentally, I like better the ripgrep smart case, where an uppercase character only matches itself, and lowercase characters match both upper and lower case.) >> I'm referring to the anzu feature whereby the replacement text is shown >> next to each match, like this: >> >> This will not be totally trivial to implement, right? And it will add >> some extra stuff to query-replace-read-args that is very much >> query-replace specific. > > I very much doubt in usefulness of such a feature. I thought it could > simply highlight the replacement text to show the places in the buffer > that already contain such replacement text. The anzu thing is only really meaningful if you are doing some complex replacements with \, and whatnot. But in that case, I guess it could help a lot?