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: Stefan Monnier
Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command
Date: Sat, 08 May 2021 09:36:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> What do you think about the idea of handling the select-window event
> the same as we handle the select-frame event during the key sequence?
> For example, type C-x, then cause the select-frame event by a suitable
> mouse gesture (here I have focus follow mouse, so just moving the
> mouse to another frame causes that), then type C-x again.  This
> produces "C-x C-x" which works on the buffer shown in the selected
> window of the frame to which I moved the mouse.
>
> Can we do something similar with mouse-autoselect-window?

We could do that, yes.  The downside is that this requires special
handling in src/keyboard.c, which is ... delicate ;-)

But since it will presumably just parallel the way we handle
SWITCH_FRAME, it shouldn't be too bad.


        Stefan






reply via email to

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