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 14:02:13 +0200 Message-ID: <242e45b6-6dee-c85a-2ac8-67b2adeb93b5@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> <8fdeca1f-7d34-c95a-0f2d-5550dea34512@gmx.at> 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="8799"; 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 14:03:12 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 1ldXI8-0002Dd-0Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 14:03:12 +0200 Original-Received: from localhost ([::1]:50790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldXI7-0004py-4Q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 08:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldXHy-0004pp-2g for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 08:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldXHx-0000DM-RU for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 08:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldXHx-0003fW-Ox for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 08:03:01 -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 12:03:01 +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.162004334714095 (code B ref 47969); Mon, 03 May 2021 12:03:01 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 3 May 2021 12:02:27 +0000 Original-Received: from localhost ([127.0.0.1]:46387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldXHO-0003fH-V9 for submit@debbugs.gnu.org; Mon, 03 May 2021 08:02:27 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:52547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldXHM-0003fB-Vg for 47969@debbugs.gnu.org; Mon, 03 May 2021 08:02:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620043336; bh=0HIgiwlJhlHyIsQuesS66OZ9UCJqVwTl+6iFthCA2Tc=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=XPcEe9FwbEXJYzWQQl8ySOSc5OTTFZqXc1og/m6nwKohPDAx4fsvAfgJToULDHlAn 5tP18r5rtj8uK238UMIuaKKJ3KSj10DvyzzhIkXGkg+zEAq1dUl16W9Ywnnz8WplVs cgCxZFubHW7ybp4inOEOzqk8qFcKdMt1MPqBWXYw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([212.95.5.3]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdvmO-1l2Xpm0r70-00b11x; Mon, 03 May 2021 14:02:16 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:8448Y9vDvAiCGovCUS64qNt28NqXT68QY14e2SNlKiDxuq1dcku pvayO5V5mU0A8+7tEryumQT5f/vvFGY1PiR9Jgxhz1QecSzze3CM2ZOvoj20bRlEnbyz2UB AwmEvifDwH1lv2SYtRXBHi4v8u6Ctw+oaGa1eLtDmeW1ocwEAyD0MOa0ZbHMU9OCVA8J8Ph SY4WSey00iGj39hLoLKyA== X-UI-Out-Filterresults: notjunk:1;V03:K0:rWAhD4fQw3I=:2l80V/oegai1rTQ01/r6F3 UMtkdGtQGKml9d46PB6wDzzWvi+YnmrXZouYybQH0Ghi+TZLqahgqMWwngUVWYDrLjqXfGcC8 J/BKXchvXk4pEGv2xOE/P4ukYQ+mHWOkbShi+jaaolpOZT0HARlYCzjxfb9iFIZfa3vzj5H20 R+vJTW3SSRXIfk9lhkZ3FSc605gOAsUn1iVkVNRcNSf61MZIBkS95hVcd0I+YkatBwZPM6qmH SU4ArDyZ91AqD2eyes4hwZFJHy0ci24FGbW3JHnG4RFUTZT2Ob2OWEh82rYI3t/p1OW7gm0eu XvO9H8bQFiYQoDm5brr3HFUtKoA+dBPb9ySSvc2iVtkDFm/fEsYdzABdGLvRSD4WqqYG9IxRT JzzP4USK4Vc17I6jfVlpeY+HA4txPuM171iabwjYMSdWD394F51rxRzmTvQALSKEzWcNf+50F Wywbaa/EG20YjIphjldvCX9I0GIgrs1P+oNnnUu+yJkwJAgSmB3Pa7JXuB9j/KJOA6/+AmbR0 xjWXa6p6GU4P6oZCUGjlS+2SCfWZLNtXxZFz/VVGY/soedKTpqNLSPBvxSZQxwBKmC7XVfL9m F+5sSs4KeX8XWzF4z8ARGLBCBLqof3986ixUoYUy4ki+EZ7EK+Od9+Xak7JA0xK9EwGemSSyE ylf4BVtHkEmgzh1lTrSQvowX4zN0+/dkSGIVW/ocN7mLQGJ6EOcaekGAbt0mXSu27/sNTAJY8 t41bIN+vGBoWUteTjSph5cgvISDMUp0DhcGna/AXzdkPCMcBcFrh2gAtDeLo9hBab8j4o602 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:205504 Archived-At: > Okay, I bisected this, and the culprit is commit 3fdd3bb56c. Interestingly, that commit removed the following from handle-select-window: > > ;; Don't switch if we're currently in the minibuffer. > ;; This tries to work around problems where the > ;; minibuffer gets unselected unexpectedly, and where > ;; you then have to move your mouse all the way down to > ;; the minibuffer to select it. > (window-minibuffer-p) > > which happens to be what my patch adds again. I can't give a reasonable explanation why I removed that back then, so please re-add it as soon as your paperwork is done. And many thanks for the bisection, great work as usual. martin