From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Selecting tooltip frames considered harmful Date: Mon, 26 Feb 2018 19:54:57 +0100 Message-ID: <5A945801.6090507@gmx.at> References: <5A9135CE.3020802@gmx.at> <83inam4qlj.fsf@gnu.org> <5A9309B3.1050405@gmx.at> <83606k3ku1.fsf@gnu.org> <5A93CDBC.8080506@gmx.at> <83sh9n21it.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1519671246 6230 195.159.176.226 (26 Feb 2018 18:54:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2018 18:54:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 26 19:54:02 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 1eqNuU-0001Cd-4x for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2018 19:54:02 +0100 Original-Received: from localhost ([::1]:32806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqNwW-0000ze-IR for ged-emacs-devel@m.gmane.org; Mon, 26 Feb 2018 13:56:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqNvZ-0000rF-PL for emacs-devel@gnu.org; Mon, 26 Feb 2018 13:55:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqNvU-0007Kz-Bi for emacs-devel@gnu.org; Mon, 26 Feb 2018 13:55:09 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:42879) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqNvU-0007Kl-14; Mon, 26 Feb 2018 13:55:04 -0500 Original-Received: from [192.168.1.100] ([46.125.250.72]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MH4Os-1evM162GKg-00Dmbc; Mon, 26 Feb 2018 19:55:02 +0100 In-Reply-To: <83sh9n21it.fsf@gnu.org> X-Provags-ID: V03:K0:ZgEUpsokR6ueBv+d1D7fgQ7ypqYbmT1CiJ1xC3c9qqKj4fsNHhr 4tKmbDt2a9VhimcFjZfET4RVGVs07dCrM2CeZ3cYA/e9yy7pFuxD8jB/kxyPCBdmJqCN4gv AUM63XOBlgZXLipFFC9ZuMSziJ55MTJATQAP+S2lH7puiOs+VQimFDd+2XOyBQXUEU2se9R RaoPq+ZyYB2XMFvU/LthA== X-UI-Out-Filterresults: notjunk:1;V01:K0:LYu3e5JgIsU=:tt5yydOkaNcChiJLSr6jpF Yq7Xw7pLp9AvlrsJkBRyTOfHiFjHK2uTxJDWH+JgpDLsWVo+Or+bTehMTT7gphVkee/ni/mSk i9YLNUbrMghu1X9RNtsvtM/JLXWQI38ulk/P2KhXA/scK/ravjUFyZzJavqqfmJsWF76ObOVE Y2JFP0N6VnUUqc8zUPPbKTun4Gd2k5HLTvcrF9NSr9mb7dGrB5nyGpR9uvzAbhdS+ok0+2yMb 7i8X/hsAgM0KKP2q9+/0oOA+CFIupzsJ2uFZM+suvxV8MovEIA4SZfp3FdMoPGW3BiE9lCm1R QMbO9V8swCpHLsb1+mQVixEhKycup/Hql0KSv8109xolWTHuIrw1XzQ5pBrUQCW65S2+yMW1c chjG2fyYh56OxWgPsjygbmJuGrIt0vNMMfUv1ngCcfA+JGSbSuuzgLzrlwH9ZHwBFHMmWqcbj 3HSoI6ZFfmhSyPXzqjLNbiaM0xQ2kbZC9z79kdl8Wq4vLqAHIyRue0gCB0YUQFItKj6rfHCeH CiwgoYYAhJzfTWDs6nGRzS+ygx4Fbau2uCrLfUX4KOxT49HokdeKApg9RuzVcxwwaRIwpGw50 shW4+h6cvRZ5D/3Wh5HOKJBt4hk0ByEMiqdiYewKi8ME9GEeTXh4aNoyUA50Rv8F/6PVtcUqV f4Z9EeD8kdT+PTZV982WWud1/LijK16NsPYCjjd+1gr8Ef/pEoeo0e/9YSJjIUXtbu53fGv3X hV+lFBdn3wrb3mG9KrSVxjttNnCa9tNS6NjemJAt6zn22A/UnDa6a7v7sF1TZ36o8ROiozzP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 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:223082 Archived-At: > For calls from within the display engine (if there are those), make > sure we skip such frames. For any other calls, signal an error. This still sounds like I would have to do the check in the callers of select_window and all flavors ending up in selecting a frame. But the display engine calls are all for frames with a mode line or a title, so I think no check is needed in the first place. Still I could put one there in the few occurrences to make sure. Then this means that I could put one check into do_switch_frame and another one into select_window and have them always signal an error. I'm still unsure how to reconcile your proposal with Stefan's. Doing both would be redundant but could help just in case one of the two doesn't work out as expected. martin