From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: martin rudalics <rudalics@gmx.at>
Cc: Alan Mackenzie <acm@muc.de>, 48229@debbugs.gnu.org
Subject: bug#48229: 28.0.50; C-g leaves inactive minibuffer selected with pop-up-frames
Date: Thu, 06 May 2021 16:24:43 +0100 [thread overview]
Message-ID: <878s4r3mx0.fsf@tcd.ie> (raw)
In-Reply-To: <e25f7bf6-9ab3-91b4-16c6-4011d7402cbf@gmx.at> (martin rudalics's message of "Thu, 6 May 2021 09:45:38 +0200")
forcemerge 47766 48229
quit
martin rudalics <rudalics@gmx.at> writes:
>> Ignore the missing scrollbar; that's a separate long-standing issue ;).
>
> You mean a missing slider and a strange background?
Yes, although the background isn't strange: it's a small section of a
scenic wallpaper from my home country, I think you'd like it ;).
> Would it help to put scroll bars on the right?
Yes, I no longer get a missing slider after
(set-scroll-bar-mode 'right).
> In either case we should investigate this, or at least document it.
Indeed, it's on my todo to report this properly (I also get a missing
menu bar sometimes with Lucid/GTK, but I only notice it when I'm in the
middle of something else in 'emacs -Q', because in my config I have all
of these elements disabled), but I need to study for my finals first.
>> 3. q
>>
>> As part of another long-standing issue on Xmonad (I guess because it
>> doesn't really do invisibility/minimisation/what-have-you), this
>> actually retains the *Completions* frame (which is still highlighted as
>> focused by the WM), but now neither frame looks "active" (all three
>> visible cursors are hollow):
>
> Have you ever tried to customize `frame-auto-hide-function'?
Yes, in my config I have:
(defun blc-delete-spare-frame (&optional frame force)
"Delegate to `delete-frame' unless FRAME is alone in terminal."
(unless (eq (next-frame) (selected-frame))
(delete-frame frame force)))
(setq-default frame-auto-hide-function #'blc-delete-spare-frame)
amongst various other settings and advice to elevate the citizenship
status of pop-up-frames.
> If it's really impossible to get rid of that frame, we should document
> it too.
>
>> 4. Close the *Completions* frame. In Xmonad that's Mod-Shift-c by
>> default.
>>
>> The minibuffer of the original frame is now selected:
>>
>> 5. C-g
>>
>> This leaves the inactive minibuffer selected:
>
> But C-x o will select another window, right?
Right, but thereafter any use of the minibuffer leaves the minibuffer
selected at the end, that is until I type C-x o again.
Anyway, I can no longer reproduce the recipe in the OP following:
Fix wrong handling of minibuffers when frames get iconified/made invisible
c873d16af6 2021-05-06 10:48:14 +0000
https://git.sv.gnu.org/cgit/emacs.git/commit/?id=c873d16af61ae9b956c6dd6d9e50ebad2bb7666e
So I'm merging this report with bug#47766. As Gregory points out, the
related bug#48249 remains.
Thanks,
--
Basil
next prev parent reply other threads:[~2021-05-06 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-04 15:43 bug#48229: 28.0.50; C-g leaves inactive minibuffer selected with pop-up-frames Basil L. Contovounesios
2021-05-06 7:45 ` martin rudalics
2021-05-06 15:24 ` Basil L. Contovounesios [this message]
2021-05-06 7:59 ` Gregory Heytings
2021-05-06 15:27 ` Basil L. Contovounesios
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878s4r3mx0.fsf@tcd.ie \
--to=contovob@tcd.ie \
--cc=48229@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.