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: Eli Zaretskii
Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command
Date: Sat, 08 May 2021 15:38:27 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: martin rudalics <rudalics@gmx.at>,  gregory@heytings.org,
>   47969@debbugs.gnu.org,  robert@capuchin.co.uk
> Date: Thu, 06 May 2021 09:22:52 -0400
> 
> > I don't know; I don't think so.  But the solution doesn't have to be
> > entirely in Lisp, does it?  We could, for example, add a variable
> > indicating that a key sequence is being read (if there isn't such a
> > variable already).
> 
> [ I don't think there's such a variable, no.  ]
> 
> > Stefan, any suggestions or comments?
> 
> No, the thread looks pretty complete.

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?





reply via email to

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