|
From: | Gregory Heytings |
Subject: | bug#47894: 28.0.50; isearch does not work if enable-recursive-minibuffers is on and some input method is set. |
Date: | Tue, 20 Apr 2021 21:51:38 +0000 |
Thanks for the reminder; I had seen Zhiwei Chen's message, but not this bug. I'll have a look.
This bug is rather strange. When an input method is used, isearch-post-command-hook is executed twice, once in the current isearch buffer and once in the minibuffer.
When enable-recursive-minibuffers is unset, the execution of isearch-exit fails with "Command attempted to use minibuffer while in minibuffer", so the error is not visible (except in *Messages*).
When enable-recursive-minibuffers is set, the execution of isearch-exit does not fail, which triggers the current bug.
The immediate fix is attached, but I wonder if the cause is not elswhere, that is, if it is indeed intended that isearch-post-command-hook is executed in the minibuffer in such a case.
Terminate-isearch-when-point-has-moved-to-another-bu.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |