[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stop frames stealing eachothers' minibuffers!
From: |
Stefan Monnier |
Subject: |
Re: Stop frames stealing eachothers' minibuffers! |
Date: |
Sun, 21 Mar 2021 11:00:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> The problem I'm trying to solve here is to understand what happens when
> emacsclient opens a frame on a different terminal from where emacs
> --daemon was started, when there are active minibuffers on the original
> terminal. What would be nice would be for these minibuffers to be moved
> onto the new frame (when minibuffer-follows-selected-frame is t) or left
> on the other non-initial frame (otherwise).
Leaving them on the other non-initial frame is OK if the new frame is on
the same display. If it is on another display it can be a problem
because that other display may be inaccessible to the user at
that moment.
That's why I added `server-goto-toplevel`.
> It appears, from Miha's observation yesterday, that any active
> minibuffers would get aborted in this case, to prevent the old frame
> blocking the new one.
Of course, if you could move the active minibuffers to the new frame
(when minibuffer-follows-selected-frame is t), then we could change
`server-goto-toplevel` so as not to abort them.
> It may well be that further work in this area isn't worthwhile - just how
> often is somebody going to create a frame in a different terminal whilst
> a minibuffer is active, anyway?
I implemented `server-goto-toplevel` because it happened to me quite
a few times ;-)
Stefan
- Re: Stop frames stealing eachothers' minibuffers!, (continued)
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/19
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Miha Rihtaršič, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Stefan Monnier, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!,
Stefan Monnier <=
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Michael Welsh Duggan, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Stefan Monnier, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Eli Zaretskii, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/20
- Re: Stop frames stealing eachothers' minibuffers!, Miha Rihtaršič, 2021/03/21
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2021/03/21