From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command Date: Wed, 05 May 2021 09:40:29 +0000 Message-ID: <70f2eadd5f9ecb2b5f2a@heytings.org> References: <24706.50397.801563.461736@capuchin.co.uk> <677a04021b23aa2d7c9f@heytings.org> <24709.24669.871737.299611@capuchin.co.uk> <677a04021b6d6347bbd2@heytings.org> <4edb1435266ad41487a5@heytings.org> <8fdeca1f-7d34-c95a-0f2d-5550dea34512@gmx.at> <242e45b6-6dee-c85a-2ac8-67b2adeb93b5@gmx.at> <838s4w6mua.fsf@gnu.org> <83y2cv6773.fsf@gnu.org> <1a73bd6c69efd6282e57@heytings.org> <83bl9q676g.fsf@gnu.org> <1a73bd6c69e27aed1fbd@heytings.org> <83y2cu4p0g.fsf@gnu.org> <1a73bd6c6998b2e086fc@heytings.org> <83tuni4mwi.fsf@gnu.org> <1a73bd6c69c2cc8827d5@heytings.org> <83r1im4jct.fsf@gnu.org> <70f2eadd5f0765103f13@heytings.org> <2f30b9c9-788f-502b-aeab-1b349fed997a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28528"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47969@debbugs.gnu.org, robert@capuchin.co.uk To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 05 11:41:11 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 1leE1m-0007Jr-QX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 11:41:10 +0200 Original-Received: from localhost ([::1]:41178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leE1l-0008LY-Tf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 05:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leE1e-0008LM-S5 for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 05:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47501) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leE1e-0007a5-Kz for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 05:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leE1e-00078a-Hv for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 05:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 May 2021 09:41: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.162020763527416 (code B ref 47969); Wed, 05 May 2021 09:41:02 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 5 May 2021 09:40:35 +0000 Original-Received: from localhost ([127.0.0.1]:59045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leE1D-000788-LZ for submit@debbugs.gnu.org; Wed, 05 May 2021 05:40:35 -0400 Original-Received: from heytings.org ([95.142.160.155]:38394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leE18-000780-Qf for 47969@debbugs.gnu.org; Wed, 05 May 2021 05:40:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1620207629; bh=ttxSL4zxzZ6Lc+qcVfgqkYrQtI2NmjB0F0PzJCJzvRg=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=RoFMvIY3KZg54acWleadnc8BQmtKElmV9pyfFc7Z4Gj4eegmZL9P/uHrTo5yOGy27 uTEHoTsJF2YqGirkDsxmYNYce6eUXhplrOOG82/MperPg094CchAJlKcQYj4w/DrCq gjsMQxiXQZtDLJxIMYb1b69LO0FPcOoI7JZ0oK98sI9VD+Cvt66us6DSlwOykdZvl0 ojVjz3e2rbSaIU1etmhRqsGS9er4nwaocAicAtwSHe2agLsF4m/hJW2TPYbll9+9Kr u+OcbdMFPVbmRD98AcaAjbLVIeiOQzPEeezPKbRmieit0hu0QtgsMDveOw2Dur3yyp JM2FNTlQytAmg== In-Reply-To: <2f30b9c9-788f-502b-aeab-1b349fed997a@gmx.at> 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:205675 Archived-At: >>> I have no good idea here but note one aspect: When a user has the >>> minibuffer on a separate frame and her WM does focus-follows-mouse, >>> moving the mouse between frames will select another window. >> >> Are you sure? > > No. > ;-) >> I just tried it (I enabled focus-follows-mouse in both my WM and Emacs >> and mouse-autoselect-window in Emacs), and with Emacs 25 (i.e. before >> 3fdd3bb56c) and with Emacs 28 with my patch, moving the mouse between >> ESC and x, or even later, does not select another window. The user >> input is redirected to the minibuffer, even when it is not the >> currently selected frame by the WM. > > What is your value of `focus-follows-mouse'? Also my WM does auto-raise > a frame whenever it gets focus. > As I said, its value is t. My WM also auto-raises a frame whenever it gets focus, but in spite of this it is the non-raised frame (the minibuffer one) that gets the user input. > > And finally there's Bug#16681. > I wasn't aware of that bug. I just tried it, and I can't reproduce it, it works correctly with and without focus-follows-mode t, so it seems to be fixed.