From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: Selecting tooltip frames considered harmful
Date: Mon, 26 Feb 2018 08:21:35 -0500 [thread overview]
Message-ID: <jwvzi3v28rf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <5A93CE0D.4050308@gmx.at> (martin rudalics's message of "Mon, 26 Feb 2018 10:06:21 +0100")
> So you probably mean the mini window for the frame of the window
> selected at the time the tooltip frame is created.
Indeed.
> That window is in fact the mini window of tip_last_frame.
Maybe the lifetime of a tooltip frame is sufficiently restricted that
this is the case (I'm not sufficiently familiar with that code to
tell), but the *semantics* should be "the echo area of the window for
which the tooltip frame is transient", I think (and if tip_last_frame
gives us that, then that can be used in the implementation).
> We currently refuse to delete a frame when its minibuffer window
> serves as the minibuffer window of another frame.
I think this is an accident of implementation, not a feature.
As a user I've found it annoying on a bunch of occasions.
So we don't have to reproduce that misfeature here.
A more useful behavior would be to allow deleting that frame, and then
next time the other frame needs a miniwindow, you just go "oops, our
miniwindow has been deleted, let's look for another one".
We could still have a check when deleting a frame to make sure there
remains at least 1 miniwindow somewhere, of course.
Stefan
next prev parent reply other threads:[~2018-02-26 13:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-24 9:52 Selecting tooltip frames considered harmful martin rudalics
2018-02-24 10:41 ` Eli Zaretskii
2018-02-25 19:08 ` martin rudalics
2018-02-25 19:55 ` Eli Zaretskii
2018-02-26 9:05 ` martin rudalics
2018-02-26 15:50 ` Eli Zaretskii
2018-02-26 18:54 ` martin rudalics
2018-02-26 19:31 ` Eli Zaretskii
2018-02-27 2:57 ` Stefan Monnier
2018-02-25 13:33 ` Stefan Monnier
2018-02-25 19:08 ` martin rudalics
2018-02-26 3:02 ` Stefan Monnier
2018-02-26 9:06 ` martin rudalics
2018-02-26 13:21 ` Stefan Monnier [this message]
2018-02-26 18:54 ` martin rudalics
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=jwvzi3v28rf.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--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.