bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command


From: Gregory Heytings
Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command
Date: Tue, 04 May 2021 13:26:53 +0000


What I would do to narrow the possible effect is to replace the

(window-minibuffer-p)

in my patch with

(and mouse-autoselect-window (window-minibuffer-p))

Would you agree with that?

Yes, this is better. But I wonder if we can do better yet. I see that we already have machinery in place to delay auto-selection for some reason or other -- can we use this feature in this case, perhaps? See mouse-autoselect-window-state and its users. Perhaps we can delay the auto-selection until after the key sequence started by ESC is processed?


Would doing that not contradict the docstring of mouse-autoselect-window, which says: "Autoselection [...] never unselects the minibuffer if it is active."?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]