From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command Date: Mon, 3 May 2021 11:38:50 +0200 Message-ID: <8fdeca1f-7d34-c95a-0f2d-5550dea34512@gmx.at> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17988"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robert Marshall , 47969@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 03 11:41:52 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 1ldV5L-0004c8-TX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 11:41:51 +0200 Original-Received: from localhost ([::1]:34096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldV5K-00025B-Vw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 05:41:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldV3a-0000UE-VM for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 05:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldV3a-0004BW-Ld for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 05:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldV3a-0001oi-J2 for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 May 2021 09:40: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.16200347456972 (code B ref 47969); Mon, 03 May 2021 09:40:02 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 3 May 2021 09:39:05 +0000 Original-Received: from localhost ([127.0.0.1]:46238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldV2f-0001oO-6U for submit@debbugs.gnu.org; Mon, 03 May 2021 05:39:05 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:60621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldV2b-0001o1-Hb for 47969@debbugs.gnu.org; Mon, 03 May 2021 05:39:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620034732; bh=HDPboRDlPjiyNMsOHEFL4j1xbcVMuzPNLikJ6r6tc1g=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=TLtVzM5Tti++txXivXbZu+/9oRoIBzLJnG3osGx/eKNoPrdkawnGrnJLqhGwDzaep 6548yieY/c81ISMh6A0Jp2jqhKU0VxEzWgAsT9deFkNvlpAtz9PFrOJ4Tp+q8Nq0oS mH4k742FKZLRwrR2KgbxuBgNcG6Yhs3SkyGifB94= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.3]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4axq-1lbqby1LiI-001mFp; Mon, 03 May 2021 11:38:52 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:J66L/+dKP8uNe9m9ukkZH6jClGGU10c2leVFMYPivKImFr4i8xd DKUGJkni+yMGyf0NVEYUXE2V1Rt5c1Du/nqmlR9yvXxj89kEusSxIcvw1hL25CCJL7+ClHq Qu8sYLLQWtHQSPJvoAo2n43++UwbQT8KOlLbzxy/Q75qu4BB1gFCsv95fuYNMi02pIr9lDN qIeOB6TdY3Wib9Jq6FIEw== X-UI-Out-Filterresults: notjunk:1;V03:K0:cVxKvbGjiwQ=:7wTA+pc0lsLq0F4tQhr/32 Xj2YF8/zAaPvIaoFDF62IJmXrwI45+bQ63eCaJkRMTvJQm1IRoHUGlL0hxgp2v73sjzbP/qkh 458aMwgM6pJ5c4zX6yXd6eiG2aZmWPVwDlu1y6E3JkAKYeXtQmk26MmllE+flYmyIJ3DIhyEL zvAxiGolXXZB57qAr0dN/CVEM5ZDc0Y4CJgonxbOVCZHTLYkY2AYAVuG9jW5ceESR98r6Fby3 lWgs/2YpLOmR9gWHCSX1A5gLVD90kPaTntVYq4PPn3Jvu7Vazj1pZsXT2NThFNnVBUWkZ/Bct cUhIrAY8XlDKQdITk/Aux0/0MI3C3VTYDQQx+C4ba/EZ1LYkh5WCozfGAP4Cp+RylF1jUqdS0 MBZpaY8OMUXHTI97NImRCJNzvGSqkd246LYdRZ9TwEujFCIPvvW26U6aIor678CKA8utpTgdm 6bDbvrKbY6iVe+v0ZVgOuGMWaj7eiN0lskbtJcRKogGKdfI6srETMSM+P7rjmXKUKE3cJmgS9 v2bbyMmP4IMZFWhRy4okN6m0IWmnC8+5qZohq2SxmNL+IHbzHbfD48qCRqtpabl3nH9BuOJJo vEObuLnfQ/adI5KmxjH4bQ98UFlnmUuIAsp8s9XIXuCiVtWqCJRU3dzIOk0UGXZgvVU/ITHIO nBWriCuxgFa1ffE8sXMoeR4fYo5xNGjjHe/A5fvGuWQ4r9tuAxwPD6MwHDHm3JS/0I+xObFny GmKV+AO1SynugGUG/Li4rFL/GcjOizr98Broa3lGREwyNeRsXCxIP6bMfAMoPsw9KnF33rtY 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:205491 Archived-At: >> I don't know what to say because (1) moving the mouse to the lower window does _not_ lead to typing "gnus" in that window here and >> > > Are you sure? I tried this recipe on GNU/Linux (27.2 and 28), macOS (27.2) and Windows (27.2), and in all cases "gnus" was typed in that window. Note that the recipe uses ESC x, not M-x. I apparently have to move the mouse before doing the ESC. Then I can reproduce it. With an occasional select-window echo in between. >> (2) I'd rather consider it a bug to _not_ select the lower window in that case. >> > > I don't know. What I do know is that mouse-autoselect-window was introduced in Emacs 22, and that in Emacs 22-25 the lower window was not selected with that recipe. That behavior changed in Emacs 26. Do you know which commit changed it? >> Mouse window auto-selection should mimic the behavior of clicking into the lower window and clicking in that window should select it also while a minibuffer dialogue goes on. >> > > This is not the case, not even in Emacs 28. If it were the case, the "ESC" would be discarded and "xgnus" would be typed in the lower window. What happens is that "x" becomes "M-x" because of the earlier "ESC", "M-x" stays in the minibuffer, and "gnus" in typed in the buffer. Hmm.... ESC is undefined. That makes the difference. In either case don't let me distract you and feel free to install any fix you consider reasonable. Thanks, martin