From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Marshall Newsgroups: gmane.emacs.bugs Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command Date: Sun, 25 Apr 2021 07:41:55 +0100 Message-ID: <24709.3891.605753.919647@capuchin.co.uk> References: <24706.50397.801563.461736@capuchin.co.uk> <7ee648e84004b7745946@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20986"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47969@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 25 08:43:16 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 1laYU8-0005M1-Qz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Apr 2021 08:43:16 +0200 Original-Received: from localhost ([::1]:49256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laYU7-0005Ag-AB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Apr 2021 02:43:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laYTu-0005AU-DO for bug-gnu-emacs@gnu.org; Sun, 25 Apr 2021 02:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laYTu-0004h4-6C for bug-gnu-emacs@gnu.org; Sun, 25 Apr 2021 02:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laYTu-0007Cr-4c for bug-gnu-emacs@gnu.org; Sun, 25 Apr 2021 02:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Marshall Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Apr 2021 06:43: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.161933292827640 (code B ref 47969); Sun, 25 Apr 2021 06:43:02 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 25 Apr 2021 06:42:08 +0000 Original-Received: from localhost ([127.0.0.1]:41893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laYT2-0007Bk-8Q for submit@debbugs.gnu.org; Sun, 25 Apr 2021 02:42:08 -0400 Original-Received: from know-smtprelay-omc-5.server.virginmedia.net ([80.0.253.69]:59482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laYSx-0007BB-2s for 47969@debbugs.gnu.org; Sun, 25 Apr 2021 02:42:06 -0400 Original-Received: from capuchin.co.uk ([82.0.180.44]) by cmsmtp with ESMTP id aYSqlzLLj52czaYSqlvQeQ; Sun, 25 Apr 2021 07:41:56 +0100 X-Originating-IP: [82.0.180.44] X-Spam: 0 X-Authority: v=2.3 cv=WpQFz+Xv c=1 sm=1 tr=0 cx=a_exe a=ZmEqW+an5eg7eqPGYFwV/Q==:117 a=ZmEqW+an5eg7eqPGYFwV/Q==:17 a=kj9zAlcOel0A:10 a=3YhXtTcJ-WEA:10 a=nCwyysSMVivGiSS8tTUA:9 a=CjuIK1q_8ugA:10 Original-Received: from poulenc.faure (unknown [192.168.0.153]) by capuchin.co.uk (Postfix) with ESMTPS id E89FF19F375; Sun, 25 Apr 2021 07:41:55 +0100 (BST) In-Reply-To: <7ee648e84004b7745946@heytings.org> X-Mailer: VM 8.2.0b under 28.0.50 (x86_64-pc-linux-gnu) X-CMAE-Envelope: MS4wfFNgYF8TLpp8aq04bwR5FRhF2wIVLbyODxjcmnEnsO8yYjDWPNu8q53TI66WrQqptBppwlOWtyx+KmWNA4RPnMUeclhc9nKCj6InlSiRdqrA2iYw0FhD NylnpfCKLZ3K39Q6HFYKhT9t1MqplsVEagR6nEQ46WkTEaMHZQ6S62IvTlf5fZTK86qaxixdG+7s/YdPvjo+g7YcG/smRblMGcU= 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:204847 Archived-At: Gregory Heytings writes: > > > > > I've been finding - in last 12 months - that sometimes when I do M-x and > > type something the cursor has moved to the main window in that frame, > > and the desired command ends up in that window if it is a 'normal' > > buffer or does more drastic things if (for example) in dired. > > > > from Ch l in one of these cases > > x ;; execute-extended-command > > ;; handle-select-window > > g ;; revert-buffer > > n ;; dired-next-line > > u ;; dired-unmark > > s ;; dired-sort-toggle-or-edit > > > > you'll see that my intention of typing M-x gnus has been subverted and > > the commands are happening in a dired buffer! > > > > I have (setq mouse-autoselect-window 1) but I don't think I'm pausing > > long enough (and it doesn't see to kick in anyway from a minibuffer) > > that handle-select-window is clearly the problem but not sure where it > > is coming from, and it is happening very rarely so I'd prefer not to set > > a break there. > > > > Thanks for your bug report. I could not reproduce what you describe alas; > could you perhaps try to create a recipe, starting with emacs -Q, with > which the bug you experience is triggered? > I will attempt to - however I'm only seeing this behaviour once a week or so, so difficult to replicate. My impression is that it used to happen more frequently when I was running a build from git made spring 2020, it's now less frequent but still occurring. I shall steer clear of functions starting with the characters dxyes - that way lies data loss with this bug and a dired buffer ;) Robert -- Robert Marshall twitter: @rajm