unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Marshall <robert@capuchin.co.uk>
To: Gregory Heytings <gregory@heytings.org>
Cc: 47969@debbugs.gnu.org
Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command
Date: Sun, 25 Apr 2021 07:41:55 +0100	[thread overview]
Message-ID: <24709.3891.605753.919647@capuchin.co.uk> (raw)
In-Reply-To: <7ee648e84004b7745946@heytings.org>

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
 > > <escape> <select-window> 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





  reply	other threads:[~2021-04-25  6:41 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23 13:00 bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command Robert Marshall
2021-04-24 17:29 ` Gregory Heytings
2021-04-25  6:41   ` Robert Marshall [this message]
2021-04-25  9:58     ` Gregory Heytings
2021-04-25 12:28       ` Robert Marshall
2021-04-25 12:29         ` Gregory Heytings
2021-05-01 20:20           ` Gregory Heytings
2021-05-02  6:40             ` Eli Zaretskii
2021-05-03  9:07               ` Lars Ingebrigtsen
2021-05-03 11:54                 ` Eli Zaretskii
2021-05-03 12:15                   ` Gregory Heytings
2021-05-03 12:18                     ` Eli Zaretskii
2021-05-02  7:39             ` martin rudalics
2021-05-02  8:01               ` Robert Marshall
2021-05-03  8:42               ` Gregory Heytings
2021-05-03  9:38                 ` martin rudalics
2021-05-03  9:41                   ` Gregory Heytings
2021-05-03 11:19                     ` Gregory Heytings
2021-05-03 12:02                       ` martin rudalics
2021-05-03 12:09                         ` Eli Zaretskii
2021-05-03 12:20                           ` Gregory Heytings
2021-05-03 17:31                           ` martin rudalics
2021-05-03 17:46                             ` Eli Zaretskii
2021-05-04  7:41                               ` Gregory Heytings
2021-05-04 11:59                                 ` Eli Zaretskii
2021-05-04 13:04                                   ` Gregory Heytings
2021-05-04 13:17                                     ` Eli Zaretskii
2021-05-04 13:26                                       ` Gregory Heytings
2021-05-04 14:02                                         ` Eli Zaretskii
2021-05-04 14:43                                           ` Gregory Heytings
2021-05-04 15:19                                             ` Eli Zaretskii
2021-05-05  7:25                                               ` martin rudalics
2021-05-05  9:02                                                 ` Gregory Heytings
2021-05-05  9:25                                                   ` martin rudalics
2021-05-05  9:40                                                     ` Gregory Heytings
2021-05-05 11:24                                                       ` martin rudalics
2021-05-05 12:06                                                 ` Eli Zaretskii
2021-05-06  7:44                                                   ` martin rudalics
2021-05-06  8:06                                                     ` Eli Zaretskii
2021-05-06 13:22                                                       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-06 13:50                                                         ` Gregory Heytings
2021-05-06 14:18                                                           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-08 12:38                                                         ` Eli Zaretskii
2021-05-08 13:36                                                           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-25  8:52                                                             ` Gregory Heytings
2021-05-25 19:40                                                               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24709.3891.605753.919647@capuchin.co.uk \
    --to=robert@capuchin.co.uk \
    --cc=47969@debbugs.gnu.org \
    --cc=gregory@heytings.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).