Subject: Re: bug#12526: 24.2.50; `query-replace-interactive' not always respected

From: Juri Linkov <[email-masked]>
Date: Tue, 02 Oct 2012 23:37:10 +0300

>> That's a feature independent from query-replace-interactive, indeed.
>> If you want to be prompted, then terminate your search (e.g. with RET)
>> before hitting M-%.
>
> Ah, thanks.
>
> Is that feature documented somewhere?

Yes, it is documented in the Info node
(info "(emacs) Special Isearch")

> Is there a way to disable that feature?

Yes, you can easily disable this feature
by adding this keybinding to your init file:

(define-key isearch-mode-map [?\M-%]
  (lambda ()
    (interactive)
    (isearch-exit)  ;; I'm too lazy to terminate search with RET.
    (call-interactively 'query-replace)))