[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26513: 25.2; pop-up-frames and *Completions* buffer
From: |
martin rudalics |
Subject: |
bug#26513: 25.2; pop-up-frames and *Completions* buffer |
Date: |
Thu, 17 Feb 2022 11:01:50 +0100 |
>> >From emacs -Q:
>>
>> M-x set-variable RET pop-up-frames RET t RET
>> M-x global- TAB
>>
>> The *Completions* buffer is opened in a new frame, but the cursor is in
>> the frame too, so the user has to switch back to the minibuffer to
>> continue typing.
>
> This problem is still present in Emacs 29. I guess the general solution
> here would be for completion to ensure that it's gotten focus back again
> after displaying the *Completions* buffer?
Maybe Stefan Monnier can tell us what he does in such case.
I can offer the attached, largely untested patch. A possible
customization would then be
(customize-set-variable
'display-buffer-alist
'(("*Completions*"
(display-buffer-reuse-window
display-buffer-pop-up-frame)
(reusable-frames . t)
(redirect-frame-focus . t))))
martin
redirect-frame-focus.diff
Description: Text Data
- bug#26513: 25.2; pop-up-frames and *Completions* buffer, Lars Ingebrigtsen, 2022/02/15
- bug#26513: 25.2; pop-up-frames and *Completions* buffer,
martin rudalics <=
- bug#26513: 25.2; pop-up-frames and *Completions* buffer, Stefan Monnier, 2022/02/17
- bug#26513: 25.2; pop-up-frames and *Completions* buffer, martin rudalics, 2022/02/17
- bug#26513: 25.2; pop-up-frames and *Completions* buffer, Stefan Monnier, 2022/02/17
- bug#26513: 25.2; pop-up-frames and *Completions* buffer, martin rudalics, 2022/02/19
- bug#26513: 25.2; pop-up-frames and *Completions* buffer, Eli Zaretskii, 2022/02/19
- bug#26513: [External] : bug#26513: 25.2; pop-up-frames and *Completions* buffer, Drew Adams, 2022/02/19
- bug#26513: [External] : bug#26513: 25.2; pop-up-frames and *Completions* buffer, Drew Adams, 2022/02/19
- bug#26513: [External] : bug#26513: 25.2; pop-up-frames and *Completions* buffer, martin rudalics, 2022/02/20
- bug#26513: [External] : bug#26513: 25.2; pop-up-frames and *Completions* buffer, Drew Adams, 2022/02/20
- bug#26513: [External] : bug#26513: 25.2; pop-up-frames and *Completions* buffer, Drew Adams, 2022/02/21