From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Selecting tooltip frames considered harmful Date: Sun, 25 Feb 2018 22:02:25 -0500 Message-ID: References: <5A9135CE.3020802@gmx.at> <5A9309CB.90404@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519614041 28736 195.159.176.226 (26 Feb 2018 03:00:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2018 03:00:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 26 04:00:37 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eq91o-0006nn-U8 for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2018 04:00:37 +0100 Original-Received: from localhost ([::1]:56872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq93p-00013E-Mk for ged-emacs-devel@m.gmane.org; Sun, 25 Feb 2018 22:02:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq93j-00012W-7D for emacs-devel@gnu.org; Sun, 25 Feb 2018 22:02:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eq93g-0002HK-5C for emacs-devel@gnu.org; Sun, 25 Feb 2018 22:02:35 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:35752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq93f-0002Gx-VY for emacs-devel@gnu.org; Sun, 25 Feb 2018 22:02:32 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w1Q32Prp027031; Sun, 25 Feb 2018 22:02:25 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 12D61603A7; Sun, 25 Feb 2018 22:02:25 -0500 (EST) In-Reply-To: <5A9309CB.90404@gmx.at> (martin rudalics's message of "Sun, 25 Feb 2018 20:08:59 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6229=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6229> : inlines <6431> : streams <1780051> : uri <2599408> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223034 Archived-At: > The obvious candidate here is the minibuffer window of tip_last_frame > (making sure the tooltip frame gets deleted when tip_last_frame is > deleted). I was rather thinking of the selected-window at the time the tooltip frame is created (plus some way to re-set the "transient-for" field so the same tooltip-frame can be reused?). > The changes required to implement that are just as substantial as > those for not showing messages. First we need to decide what's The Right Thing, and I think that keeping track of the "parent" frame/window is the right thing. Once we agree on this, we can think about how best to implement/approximate it. Stefan