From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#47894: 28.0.50; isearch does not work if enable-recursive-minibuffers is on and some input method is set. Date: Wed, 21 Apr 2021 20:37:07 +0300 Organization: LINKOV.NET Message-ID: <87r1j3a69o.fsf@mail.linkov.net> References: <87eef6p8bh.fsf@gmail.com> <874kg0d8ui.fsf@mail.linkov.net> <192e82f20f7e5133aaea@heytings.org> <6f6e4aa5-9fdf-b4e6-04d5-c43448d67623@gmx.at> <192e82f20f92affaec0e@heytings.org> <87o8e7bmgl.fsf@mail.linkov.net> <192e82f20fe0d0cd2448@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31953"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: max.brieiev@gmail.com, 47894@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 21 19:40:21 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZGpp-0008BH-3z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 19:40:21 +0200 Original-Received: from localhost ([::1]:36522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZGpn-0003H4-K8 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 13:40:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZGpX-0003GF-FF for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 13:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZGpW-0006dY-Ib for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 13:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZGpW-0003ra-Fe; Wed, 21 Apr 2021 13:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 21 Apr 2021 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47894 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 47894-submit@debbugs.gnu.org id=B47894.161902676014784 (code B ref 47894); Wed, 21 Apr 2021 17:40:02 +0000 Original-Received: (at 47894) by debbugs.gnu.org; 21 Apr 2021 17:39:20 +0000 Original-Received: from localhost ([127.0.0.1]:59737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZGop-0003qO-SB for submit@debbugs.gnu.org; Wed, 21 Apr 2021 13:39:20 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:47583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZGon-0003pu-JB for 47894@debbugs.gnu.org; Wed, 21 Apr 2021 13:39:18 -0400 X-Originating-IP: 91.129.102.166 Original-Received: from mail.gandi.net (m91-129-102-166.cust.tele2.ee [91.129.102.166]) (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 29837C0009; Wed, 21 Apr 2021 17:39:08 +0000 (UTC) In-Reply-To: <192e82f20fe0d0cd2448@heytings.org> (Gregory Heytings's message of "Wed, 21 Apr 2021 17:18:36 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204646 Archived-At: > On the contrary, what Zhiwei Chen asked is what the patch does: exit > isearch when point has moved to another window at the request of the user. Anyone who wants to exit isearch, needs to do this explicitly, where the request of the user means typing a key that exits isearch. >> So rather than forcibly exit isearch, we could select the original window >> back, in the same vein as isearch-back-into-window in the same hook moves >> point back to the old window boundaries: > > That would be the opposite of what Zhiwei Chen asked (twice), but I won't > fight for him. His example used the command isearch-occur. This command is exceptional - it doesn't exit intentionally, to be able to show matches in another window without exiting isearch. So the right customization for him is (advice-add 'isearch-occur :after (lambda (&rest _args) (isearch-done nil t) (isearch-clean-overlays)))