GNU bug report logs -
#55110
29.0.50; Regression in query-replace prompt
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Mon, 25 Apr 2022 15:46:01 UTC
Severity: normal
Fixed in version 29.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 55110 <at> debbugs.gnu.org (full text, mbox):
>> So maybe a buffer-local value of `isearch-filter-predicate'
>> in the minibuffer would help.
>
> Yes, that indeed solves the problem. See attached patch.
Thanks, pushed.
>> Also I recommend to make all hooks in `minibuffer-lazy-highlight-setup'
>> local by adding the argument LOCAL to add-hook/remove-hook.
>
> Indeed, the minibuffer lazy highlight feature is currently incompatible
> with recursive minibuffers. The patch fixes that as well.
>
> There's a caveat, though: isearch in a recursive minibuffer is again
> affected by the presence of an inappropriate filter function. Fixing
> that in a robust way might require a bigger refactoring of the lazy
> highlight feature, I think. Another option might be to make
> `replace--region-filter' also check for the value of `(current-buffer)'.
I see no problem to fix this because every minibuffer uses own buffer,
so they have separate buffer-local variables.
This bug report was last modified 2 years and 348 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.