From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command Date: Mon, 03 May 2021 14:54:24 +0300 Message-ID: <83a6pc6nin.fsf@gnu.org> References: <24706.50397.801563.461736@capuchin.co.uk> <7ee648e84004b7745946@heytings.org> <24709.3891.605753.919647@capuchin.co.uk> <677a04021b23aa2d7c9f@heytings.org> <24709.24669.871737.299611@capuchin.co.uk> <677a04021b6d6347bbd2@heytings.org> <4edb1435266ad41487a5@heytings.org> <83k0oh8wph.fsf@gnu.org> <87r1iochi1.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11316"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 47969@debbugs.gnu.org, robert@capuchin.co.uk To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 03 13:55:18 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 1ldXAT-0002pc-E3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 13:55:17 +0200 Original-Received: from localhost ([::1]:48450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldXAS-0003JU-II for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 07:55:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldXAE-0003Il-FK for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 07:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldXAE-0003Uh-8I for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 07:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldXAE-0003a2-7s for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 07:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 May 2021 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47969 X-GNU-PR-Package: emacs Original-Received: via spool by 47969-submit@debbugs.gnu.org id=B47969.162004289213753 (code B ref 47969); Mon, 03 May 2021 11:55:02 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 3 May 2021 11:54:52 +0000 Original-Received: from localhost ([127.0.0.1]:46372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldXA3-0003Zl-Tb for submit@debbugs.gnu.org; Mon, 03 May 2021 07:54:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldXA2-0003Zf-Gq for 47969@debbugs.gnu.org; Mon, 03 May 2021 07:54:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51177) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldX9w-0003Jc-Dj; Mon, 03 May 2021 07:54:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4408 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ldX9s-0006HK-Nd; Mon, 03 May 2021 07:54:42 -0400 In-Reply-To: <87r1iochi1.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 03 May 2021 11:07:50 +0200) 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:205503 Archived-At: > From: Lars Ingebrigtsen > Cc: Gregory Heytings , robert@capuchin.co.uk, > 47969@debbugs.gnu.org > Date: Mon, 03 May 2021 11:07:50 +0200 > > > FWIW, I think we should instead temporarily disable > > mouse-autoselect-window when a minibuffer is active. > > I don't think that's what's happening here, exactly. If you `M-x' then > moving the mouse to a different window doesn't have any effect that I > can see. That's because M-x isn't a prefix key, whereas ESC is. > It's only in the test case described by Gregory that things go haywire: > `ESC' + mouse move + `xfoo'. Here's a demo without ESC: M-x set-variable RET mouse-autoselect-window RET t RET C-x 2 C-x ; wait for the "C-x" prompt in the echo area ; move mouse to the other window b ; selected-window is not longer the mini-window foo ; this gets inserted into some buffer instead of the minibuffer