From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Latest master broken on Cocoa/NS Date: Fri, 15 Jul 2016 17:20:30 +0200 Message-ID: <5788FF3E.9020600@gmx.at> References: <6094b884-c675-cc67-cdc8-c6810b26f97d@yandex.ru> <676ea8c5-848d-5646-0be4-537fd7c1a1c3@yandex.ru> <2dd42cd1-d62e-76d5-22b9-3a32d181a871@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468596299 8675 80.91.229.3 (15 Jul 2016 15:24:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 15:24:59 +0000 (UTC) To: Dmitry Gutov , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 15 17:24:50 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bO4yv-0005GA-I6 for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2016 17:24:49 +0200 Original-Received: from localhost ([::1]:33180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4yu-0006kQ-IA for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2016 11:24:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4v0-0003KF-8X for emacs-devel@gnu.org; Fri, 15 Jul 2016 11:20:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bO4uu-0003OV-7p for emacs-devel@gnu.org; Fri, 15 Jul 2016 11:20:45 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:53889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4ut-0003O9-Sj for emacs-devel@gnu.org; Fri, 15 Jul 2016 11:20:40 -0400 Original-Received: from [192.168.1.100] ([212.95.7.6]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Ldbqw-1ay3ZT2ris-00ijxA; Fri, 15 Jul 2016 17:20:33 +0200 In-Reply-To: <2dd42cd1-d62e-76d5-22b9-3a32d181a871@yandex.ru> X-Provags-ID: V03:K0:DmLyfcDJ0kqg14azGKVnwwsR5tgP3JYuasu6MOOJKYNEIVXibYp jrwCuKZCZNH11YwPectkrchYn1whuolbPw3y9zCBHknrx/qo6+jKm6qhUX0YmCNdr34bnEg Cb5awsLsb5TObb06/fCZbkQ557ABqVBtIgi/JMjzpBI3DiNG/Ga0cEmSFHMJzy4TDYMxFoh rkSYDZjf7/S1As7NuRxTQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:A1UiWOVTU54=:xbMML8esO34TyzMeMpLgiS wSF+6NDgJlSpAGmoI/6r/vLXTlBwe/ITrhdTRxKcMy8lqZHrTi9r7PRaOL/LZSl5+SV6CjSmz MEwG5THHf3lQ2HwAQIVEXlkQUj+cbRbsZ+U9MdUydNWBYyepi8b73QMj5DgleU3aLi76gqqYS BAy6Q7g6/dxgsTwRW0PxJ5XdGXe3lk1mQVdSFITHvHYnDHi2drJC7xLYR8/c4vUEht4djZwmR mAbcg38PiHTq7Cqx4Z2jKhKR/kVijGweySs8Zais8/qnAMk2BUJOJx0zQLqHbTLh2faqIx5W0 +EvUciglmCfxjshH7vYPxFET1662tZkL1RmlNiV9OsBaWwN37dEkki3/TZan7ousDjn4Eiw6U cxx+mmjNaSkORqpcpDrVR2rNMI4ZyIU7VSkIMO2Vqp3ZlG0LEjNQvvqNKhtp+PHJPttEr0J03 uxZ6GrzRftbemPgUq9CS8pyjTejgXePGs52qWa9VBjApQOpNZREFZEXBPhF8pHkAtO6B9yxol Q4EDSI2824lQthLxp0LpcQf5LA0GiOFtbrXpvSapvL+7MQfu0CExWkB2g+t5TZwqyc5ZMqo0A ZnVqQxneNLOzyX+QSwxOBDD/HU3csHBnbmvpX0jlNayNkGaCy6ufzEjAImCTFQCqeIhqA2Otu wRFr1yKuyKagkxrBSYXrZflzmNjLt7r6Zf4LwMdg7NHM8m+O620NIHQGwmmMVL+KNx77bNg0l SPiOeGGH9AwgktaYuS70rfMfKwjPXscmXcXXQiWbLwMZP8vgzQKHAmY3+cux7w4lm+s/EXB1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 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:205722 Archived-At: >> But it does ring a bell here: for company-mode's popup menus, we'd wa= nt >> to be able to create non-toolkit popup frames, even if Emacs was buil= t >> with support for toolkit popup frames. > > We also want to be able to show multiple popup frames simultaneously. = Avoiding global variables seems like a good change in this regard. Tooltips can't be used for that purpose because there's inherently only one tooltip for any instance of Emacs. Dimitry relaxes this restriction slightly by allowing one tooltip per display. Neither of these restrictions is really necessary. We could allow an arbitrary number of tooltips simultaneously with the minor drawback that one sometimes has to scan the frame list for finding them. No great deal. One question is whether and what kind of input we want for such frames. Or, as Eli would put it, whether they should become "first-class" frames. And obviously some support is needed like, for example, a =E2=80=98move-frame-functions=E2=80=99 hook to allow "non-child" popup fr= ames move together with their parent frame. I have so called "mini frames" working here. If anyone's interested I can post the patch (obviously to be applied before Dimitry's changes). martin