[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23418: 25.1.50; next-history-element no longer works in query-replac
bug#23418: 25.1.50; next-history-element no longer works in query-replace
Wed, 04 May 2016 23:05:49 +0300
Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (x86_64-pc-linux-gnu)
>>> 1. emacs -q
>>> 2. Go to the scratch buffer and place point on a word.
>>> 3. M-x query-replace-regexp (or query-replace)
>>> 4. M-n
>>> 5. Emacs will say: “End of history; no default available”.
>>> Until recently, this would try to “guess” what you want to replace by
>>> inserting the word at point on the prompt. If you kept hitting M-n it
>>> would try other guesses like inserting the word surrounded in symbol
>> I see the same bug caused by
>> that breaks syntax for bounds-of-thing-at-point.
> As pointed out by Stefan in
> a proper fix for bug#23127 is to use minibuffer-with-setup-hook: