[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stop frames stealing eachothers' minibuffers!
From: |
martin rudalics |
Subject: |
Re: Stop frames stealing eachothers' minibuffers! |
Date: |
Sat, 21 Nov 2020 16:53:11 +0100 |
> Where do you see the failure happening with that quick and dirty patch?
Load (via --load) a file with the following contents:
(setq default-frame-alist '((minibuffer . nil)))
(setq enable-recursive-minibuffers t)
(defun foo ()
(interactive)
(read-from-minibuffer "...?")
(insert (format "%s" (selected-frame))))
(global-set-key [(control meta +)] 'foo)
Now type C-x 5 2 followed by C-M-+ in one of the normal frames. Then
type C-M-+ in the other normal frame and type RET in the minibuffer
frame. Here I get in *scratch*
#<frame *Minibuf-2* 0x313ab10>
and only answering the second prompt gets me a normal frame inserted.
Emacs 27 after any of these prompts inserts the frame selected at the
time I typed C-M-+ which is TRT.
As I mentioned earlier in this thread, such tribulations are the price
we have to pay for providing non-modal dialogues.
martin
- Re: Stop frames stealing eachothers' minibuffers!, (continued)
- Re: Stop frames stealing eachothers' minibuffers!, martin rudalics, 2020/11/20
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/20
- Re: Stop frames stealing eachothers' minibuffers!, Stefan Monnier, 2020/11/20
- Re: Stop frames stealing eachothers' minibuffers!, martin rudalics, 2020/11/21
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/21
- Re: Stop frames stealing eachothers' minibuffers!, martin rudalics, 2020/11/21
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/21
- Re: Stop frames stealing eachothers' minibuffers!,
martin rudalics <=
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/22
- Re: Stop frames stealing eachothers' minibuffers!, Stefan Monnier, 2020/11/22
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/22
- Re: Stop frames stealing eachothers' minibuffers!, Stefan Monnier, 2020/11/22
- Re: Stop frames stealing eachothers' minibuffers!, martin rudalics, 2020/11/22
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/22
- Re: Stop frames stealing eachothers' minibuffers!, martin rudalics, 2020/11/23
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/23
- Re: Stop frames stealing eachothers' minibuffers!, martin rudalics, 2020/11/23
- Re: Stop frames stealing eachothers' minibuffers!, Alan Mackenzie, 2020/11/23