From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Latest master broken on Cocoa/NS Date: Fri, 15 Jul 2016 15:51:42 +0200 Message-ID: <5788EA6E.60201@gmail.com> References: <6094b884-c675-cc67-cdc8-c6810b26f97d@yandex.ru> <676ea8c5-848d-5646-0be4-537fd7c1a1c3@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t2GRfGTBJWLo5te7LwAtN6nNnSeamqoo6" X-Trace: ger.gmane.org 1468590976 19104 80.91.229.3 (15 Jul 2016 13:56:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 13:56:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 15 15:56:08 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 1bO3b3-0006HR-0w for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2016 15:56:05 +0200 Original-Received: from localhost ([::1]:60926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO3b2-0006rv-Bj for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2016 09:56:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO3X0-00011t-B7 for emacs-devel@gnu.org; Fri, 15 Jul 2016 09:51:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bO3Ww-0006QA-C8 for emacs-devel@gnu.org; Fri, 15 Jul 2016 09:51:53 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.130]:52594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO3Ww-0006Q4-2L for emacs-devel@gnu.org; Fri, 15 Jul 2016 09:51:50 -0400 Original-Received: from [192.168.1.82] ([109.24.225.43]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0LpTGA-1aun342fOo-00fQRq for ; Fri, 15 Jul 2016 15:51:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: X-Provags-ID: V03:K0:86NARfdTEckzOVDzY8We28FGa4wBlzmoFuDSN5G/NHUu6PbCa4S OGSgII05m4oFFwpJ2nHrCWEmHpLsJYtUlzlvX5o8AicSY3+srMBUMzcWBoJoH2JXDQAKccy QMvd2WhATYDYKuLe5AbpFWWqDv15qTKjXMAP84AJ9I+/7NbAvmHQoetiXFPKlE4RzT1HCKq 8hEDhHd+kQ00c7Rw6+iWQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:K/Ki3Kegvc8=:hXdew16ZocTTECqWdmerBt Hgy2x8544sRymU3PmgOZvGC6yK0wgInIfM5wTRCSGi0L30MTtYxKlhgo233TO6TwtjrdHWcus lytrnPgYb3osoHgZxxCIH1YFcAg0am2JoB2kBqZtncvAZXcns2D8Y1mTqKnKJAiFAUMcQNBGc 4OZOjdafdhM7UJagLi8j+9/lIwxgqUuCYvCAKnVX18E6ZIvT60rrWmEhEVl3VW4UMAXO8jukl B/CzrKN5s3r3i6Zmxu81i/KMpCV1ehoHVLOW1xkXZF6080zekecqFUVm1xmcKhrenZ2FmoKkH o+l0iPicO8hOW+cgRxUUBHaRBjKKZuGi0VkCarRiBIjIX8iDTQ7/0/cfBbzjONKAGbq/6s5ki lzqLGkUf8GkJBXFJSsWeWaHzLMjTGNIGdAg86Yt88K/KAxp+Nh6bppLi8OFWqT1lZfoMKp45e YdVt8QaYuogG6tUF3j76Lhla3KRpiz5/cpIXHXGVlqKOf0Wv5WthZxp2XpOOE3kyfGolVpDso pNCqGzSdxXIVm+SYg/I8Lri3tFb9gIH0zolFtoBvKOsw+YeLs0QHuy91b2xVMTNGLpH8fzh9C uTXNrTE9ZoGPBr0DCCixebY+a8EK7LSr3RJZW2FPThOxOi4NNj1JNStXaMXA1GBxmph8Dh7ks bLKb4oP/jA03UzFV5l8CJlTns9j9nDyug+7tN0q3GAHKDhenRSzEO+OJCKC3MhKT4SXc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.130 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:205709 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t2GRfGTBJWLo5te7LwAtN6nNnSeamqoo6 Content-Type: multipart/mixed; boundary="xQ0Jn9Hu1TsW3LPNNABXOjJFI1wKN9Cn0" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <5788EA6E.60201@gmail.com> Subject: Re: Latest master broken on Cocoa/NS References: <6094b884-c675-cc67-cdc8-c6810b26f97d@yandex.ru> <676ea8c5-848d-5646-0be4-537fd7c1a1c3@yandex.ru> In-Reply-To: --xQ0Jn9Hu1TsW3LPNNABXOjJFI1wKN9Cn0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-07-15 15:35, Stefan Monnier wrote: >>> Before trying it, can you please offer some motivation for why we wan= t this >>> change? That would help us in reading it. >> For NS, this is a no-op. >> For others, this addresses the cases where tooltips are 'first-class' >> frames in Emacs terms (--with-x-toolkit=3D{no,lucid,motif}, MS Windows= , >> GTK[23] builds when 'x-gtk-use-system-tooltips' is nil). The goal was >> to avoid tricky global variables and (hopefully) to reduce overall >> complexity of the relevant code. >=20 > I'm completely unfamiliar with this code so can't say anything > intelligent about that change (and don't have any opinion whether it's > good or not). >=20 > But it does ring a bell here: for company-mode's popup menus, we'd want= > to be able to create non-toolkit popup frames, even if Emacs was built > with support for toolkit popup frames. I can't say anything about the patch either, but something confuses me a = bit: why does displaying non-toolkit popups require so much C code? If we= just extracted the ability to create chrome-less frames from that code, = couldn't all the rest be written in Lisp? I tried to do this and got things semi-working with Eli's help, but then = got confused about what had to be done for it to work on Windows as well.= Cl=E9ment. --xQ0Jn9Hu1TsW3LPNNABXOjJFI1wKN9Cn0-- --t2GRfGTBJWLo5te7LwAtN6nNnSeamqoo6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXiOpvAAoJEPqg+cTm90wjc5wP/2aTYBJsYvKe7Hc+S0DX2OYd X7PkJpxPn2Xxmg1oJWS2v3X3zu2pWkmU5uQLczYYPkGs0LVvossGabPhHt2GlDwO JMSRUp/ShhkI+GBpSCUuYPs3Ari97kvO02iBCDR19DaJj4KAseLrbv4/vcqOsrom tpvLYwIanJEr9KixGsVBUO3QvXAb1Nw6o09I53OkMKYIVewpfXrsJ1XWn/j2pNd6 hMDGFlXUKSGuIt8WfFo17r0Sr33cfL8IpHP9QkLVNcj5rZCHPySVWhJCW2S0vXEi 8g28cZFPf1lnNa7QKY/ZqC/O3zPGOEhqfC1ND6lZpwhoIHaUXKe+nlfKY0Dc4WY6 CBWwv/UdrLVI3HvOpLwwKL2uB5PcSl9mVqUSjqL3uT1wZ1SZ/PwjBIbx3gtQVR29 Tqus8overVNHLdh8zUmjfirhwFZG+PFQobuzeTDmxUljIq/czsvMbinzb4FdqDVb Fzba0NxeSZl3uXY9z3VTu6Pp8wcwYznq67ItOf73l9B+DrqYOEf0CJTRCVorhD0e sT22cIxC5USiBKVpne2Fq0gvO9268SNsZwF8IIrl1XEQ0YAmlKvUdKOyAIzKzMy7 7PTGRP+4wWR9v9QfvNR6DvdqvlGPlFSkd0rNv+ZccnryELqwqK8f3lC03NQcHydc jdthQygxm49TwIbGxMNQ =sygb -----END PGP SIGNATURE----- --t2GRfGTBJWLo5te7LwAtN6nNnSeamqoo6--