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: Sat, 24 Apr 2021 17:29:16 +0000 Message-ID: <7ee648e84004b7745946@heytings.org> References: <24706.50397.801563.461736@capuchin.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21444"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47969@debbugs.gnu.org To: Robert Marshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 19:30:21 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 1laM6m-0005S0-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 19:30:20 +0200 Original-Received: from localhost ([::1]:51474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laM6l-0000Ii-VQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 13:30:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laM6U-0000F8-Gw for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 13:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laM6U-0006LD-8s for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 13:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laM6U-0002m3-2M for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 13:30: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: Sat, 24 Apr 2021 17:30: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.161928536310597 (code B ref 47969); Sat, 24 Apr 2021 17:30:02 +0000 Original-Received: (at 47969) by debbugs.gnu.org; 24 Apr 2021 17:29:23 +0000 Original-Received: from localhost ([127.0.0.1]:41399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laM5r-0002kr-2l for submit@debbugs.gnu.org; Sat, 24 Apr 2021 13:29:23 -0400 Original-Received: from heytings.org ([95.142.160.155]:51588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laM5m-0002kf-9K for 47969@debbugs.gnu.org; Sat, 24 Apr 2021 13:29:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1619285356; bh=5+KQkCOc7PchA06qw3gfa10/d2ML4YN8SvlcjblOB0o=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=MOYTrM6zCZN7O+3wWKBOwQK58zbunj+0A9FoTiR+D2zo+xuRLrpr53MXuwWLAy8uD af1TIicgmiXfAz7/RrGi98Q/Xu1TOnqQyIav9HsNnsS19rpO1TsUbMvfPyyM9nXyV0 2Vrr32Iy3c9jrYNk2EF17y0cAy/0HBZFXUh/5LdSsHgJh9M5QO/MPmG73LIfeMHVd+ I7XL4I92cHgR88nYBV1pABGCl9lEDKLfqkUzlfrR3OlASbN3pyBOFo2Rsw2tm+7/rU DkoHsvUGzux0f23io1loxfdz6MIKoWmZi1zqM+xJGU0vMygAOL5Ao0IkJTlXPkWEQM 16BdvGFIQQKSw== In-Reply-To: <24706.50397.801563.461736@capuchin.co.uk> 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:204815 Archived-At: > > 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?