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: Wed, 5 May 2021 09:25:26 +0200 Message-ID: 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> <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> 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="10115"; mail-complaints-to="usenet@ciao.gmane.io" Cc: robert@capuchin.co.uk, 47969@debbugs.gnu.org To: Eli Zaretskii , Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 05 09:26:41 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 1leBvd-0002Vk-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 09:26:41 +0200 Original-Received: from localhost ([::1]:50568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leBvc-0003TK-2M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 May 2021 03:26:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leBv0-0002io-Fx for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 03:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leBv0-00048f-7G for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 03:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leBv0-0004aC-3M for bug-gnu-emacs@gnu.org; Wed, 05 May 2021 03:26: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: Wed, 05 May 2021 07:26: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.162019954117587 (code B ref 47969); Wed, 05 May 2021 07:26:02 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 5 May 2021 07:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:58221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leBuf-0004ZZ-5o for submit@debbugs.gnu.org; Wed, 05 May 2021 03:25:41 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:41023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leBua-0004ZL-Vv for 47969@debbugs.gnu.org; Wed, 05 May 2021 03:25:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620199528; bh=fAl6b4b2Mp6UDPoL9P5owvnaNaJm9ZHvCg98D4iaX9U=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=YGk1DsIFpi8HE5JFL7gfdVjkFojeYBibZglD2FqgrxgSaTFUgEm+ETcZTTPIWmrpo tbA74KeTK46STI3DrvgEN02T4HkPFCdQjFfDtTLH/aQRRXPB/X87Fj5HXZoIweXX0C 9R++Oz0owUqUqzlKybnT6qhPS3LLUBpU1ZhtzlgY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([46.125.249.109]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Ml6qC-1lHGDM0HpE-00lSLs; Wed, 05 May 2021 09:25:28 +0200 In-Reply-To: <83r1im4jct.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:EntaSHaYmILmkJDFAEP6zmWH2ixYG/UkXWPlCqfnz1SS0UYH1u3 ayILFrpGR1SCgJ93H6Dg9g/sva8vd0lYibeu0htitHC7vbkvtifd/yoVyVVC1F6Yq0orfoJ oY4gIQgrrCAiDctjuhCWKh2QBjfYsXWjHuHO1ipgPcY28pLGiNu3JtXKbbDaKnnN+0LhoFI IWeUpkOEhJ+Qnbvijtb7g== X-UI-Out-Filterresults: notjunk:1;V03:K0:IYpoz41tOfU=:zxf6tmNxLy3aehAYCqQrwH AxXK66t11XrEB9cz2W1O7oUZTVi2sIEjjvH7KfXKvxzCGOFuZQyY4uVpdwUmOiiaKhiRwZHuq gV7NfylfEcwIi7rPz6Ir5ojc0rtedW52FnnoJyPNAjN6TBDAbnnYe9Xsb0uRMrao0MMqP8Jh1 Bjywss4+WU3TZbi7h/J/aZuG2orMv9a4QewM09BcZZy2BjftBFFhzAZ+xJnHVJai6wh6ZFVuY hCvo4iSH1pOMsKnEM94WWqzp8LTImnsADwl6H+U5iZoAb2EptCV167OaWGKwCsq3J8hQTRuGg h+djxWZj/u8nnGYlX6vMSgIQOvfwHQ43OTMPhquyvDxP7bYU5fR4vzxkjTBmn432lXvCjKZAl fGg8jIKC7LVpbLVmV/RTM1d7tNvlZntbFrna3bJVb9K2L7yq+jPhZkp0k2wwlaH036Y1BWQP6 QqEc1UnKMMT2s3dJj51iE4Q+rrFMNMDH1JBZ76ggCZsO0U/+th2gRm5/RJyerv7vZFOH9kdvc 13ay439AO6FAszjSmrVvagrSa+GHqH4Sn4wM1kgu2jXrcRG2JA7InoiLTOpGdo6RueK1vEs08 KOlTllX8DwJrXZml32HQ8OB0piNAd6tr/3T2v5Bnzz5Om/3dYVcbpIzMpg74SnbFTb3i3hS8j L1ti1GhfnFWlpLTsQnfPHWFlfKp6pF7Edqm/++hXCdFeSqVyXmGS2mTHd5wJRyEtpZCzbHA/P yMBPmAW+KLWOSFx4tK+wPfxkAl2HbGUNLrJFjhSKaz+5VC1bdfm9xTmEjJEQ7KUDeGO75CKJ 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:205659 Archived-At: >> Indeed, with that understanding there is no contradiction. But what >> "autoselection [...] never unselects the minibuffer if it is active" means >> in practice is that autoselection is disabled while the minibuffer is >> active. If you M-x, move the mouse to another window, type a command and >> RET, no autoselection happens. I'm not sure that the complexity of what >> you suggest is worth the price for this specific case (ESC x instead of >> M-x), given what the behavior is with M-x. > > I'm not sure either, but let's hear Martin at least, and I hope Lars > as well, on that idea. 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. I doubt that we can impose any restrictions for minibuffer dialogues in such case so we have an inconsistency. Basically, it all boils down to whether we want our minibuffer interactions be modal or not. I sometimes start a dialogue and, in order to finish it, look into some other buffer and maybe even start some recursive dialogue before returning to the prior one. While doing that I probably would like autoselection to behave as usual. OTOH a strictly modal dialogue like `yes-or-no-p' should probably disallow autoselection. martin