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: Fix some tooltip related problems Date: Thu, 11 Jan 2018 19:54:58 +0100 Message-ID: <5A57B302.5090108@gmx.at> References: <5A533FA4.4030507@gmx.at> <9384bae5-cbb9-4b4d-ac5c-1d01f01c8117@default> <5A53B633.5020706@gmx.at> <41d40db5-15d8-4b2c-a058-fb6dabc8bfd3@default> <5A548E7E.2040601@gmx.at> <5A55E8ED.1010602@gmx.at> <475d480b-3885-4779-ae46-09cf7fbbcee7@default> <5A5742E7.3070303@gmx.at> <5A5799A5.1070305@gmx.at> 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 1515696808 32052 195.159.176.226 (11 Jan 2018 18:53:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 18:53:28 +0000 (UTC) To: Drew Adams , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 11 19:53:24 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 1eZhyd-0007zA-A0 for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 19:53:23 +0100 Original-Received: from localhost ([::1]:34485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZi0c-0003Wo-KD for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 13:55:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZi0T-0003WJ-7A for emacs-devel@gnu.org; Thu, 11 Jan 2018 13:55:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZi0Q-0006uD-4I for emacs-devel@gnu.org; Thu, 11 Jan 2018 13:55:17 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:64144) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZi0P-0006s4-QX for emacs-devel@gnu.org; Thu, 11 Jan 2018 13:55:14 -0500 Original-Received: from [192.168.1.100] ([213.162.73.239]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MIuft-1ebdoL1zTN-002bGC; Thu, 11 Jan 2018 19:55:08 +0100 In-Reply-To: X-Provags-ID: V03:K0:5MFuQ7ugGuGUWyjP41c0KO30/LX35jVfKFZ1mFK1dnYepCsHvf6 x1egtbO1p+bcPWNA189C8w9r3gT1987W1IcCFPP5WAcDqnD6ubAvQTUMeGAgnMZ/g1tZUBC /TXQcfpQWR5uEmxCdVHXgH+BJ+sGDr0XpdwvhFrnl9hnhu53e5wxbLMfPwrCAdn+TI+A4OY 1HjUzGeRhdqi4kVZ+3+5g== X-UI-Out-Filterresults: notjunk:1;V01:K0:iBBCZ9/JzoM=:AygCVZEmSW7XIDrZDYyA30 ms+0LhvFp7amHiqbJhojsoHju/9o4fk4hIKBE2nKvkessn4pfvYkPFDEQUVh1UQGEWAWuBJvI erY91OSm+QTF1DNlDQiM6hzyZaH4Z8JKM8lgdOVyXVZRZSLjycNZmxUkJDCeZP27Exa/88Q31 J/6C1MaObOmDVPOAqyW65RU8D37Cl/rN4waTYLYyJX08iOLw7ppTx/gx60AGCc4Z85dQrtgLN ijnyF4iQ4Lw98z6TbIdIvwGLgq7cNVR0OTMYAsr2f3HCfAXk2o4N1wTC8ghxywQdRidGb/9v9 Uj7o7E5Z0Xax655Gz2t2yjppABFpxuaGq/0uTwVaTHq2n6makmt/d1BsLkOGV3x9sU+cODP8n g3AKwqZAQHkiv+LqICCbmAh8JGBBsT0x2XIQLxbDoEnWKk8BFY6Pw3Sw9fQzEdHS14FBv6AX5 ur/ZsrW8DZplY1LZgs4z9dtu2npYPiUocLyOe7WjMLMwM5zdPLtlqEdI2BiYwjkArVmmRDpw7 e+77GbOjNnoF/Ao1NYa64chUyuxiHLI7tfuq5V4x/9uIJqLH6AeEfrJ4wslQ9B+DEsjMCFaie r7Q0SPq2sKc+gR9rxvzLltZkI3nqKoyAs7dqSe6RT4Sdk6CDtSCMPrGXaktvJYJblFVsPO2RH ZX3abm2my9Xsnx76SFsHz0AWEOV+NCJKGk/89sCIPJS7xBZl5ad5kafohD2QBNNOiGIEBfQ0n pky6sKQ2vYnwgdptXIQXUpET/QhB+vkxhp+nL3XJXobW8VoKJeHYvI/AGVKxAB/GfHJhM/RS X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.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:221851 Archived-At: > 1. Can users with a GTK build today use Lisp code that decides > which to use in any given (Lisp) context? How is that done > in Lisp? The option `x-gtk-use-system-tooltips' decides whether to use system or Emacs tooltips. This is a user option and should never be set by Lisp code. > 2. What do you mean by "set up tooltip controls" on Windows? Windows uses the term "tooltip controls" for its native tooltips. In order to use tooltip controls, an application programmer has to set them up, that is, write the necessary API routines. > Today, on Windows you can at least use faces in tooltips. > (Dunno about using images, but I'm guessing that's OK too.) A tooltip frame is a normal top-level frame that can be used like any other frame. It has some restrictions (no margins, fringes, scroll bars) but a criminal mind might be able to relieve some of them. > But perhaps you mean that on Windows there are _only_ > "Emacs" tooltips, not "system" tooltips? From my point of > view that's not a problem - flexible beats inflexible. You > say that tooltips on Windows are "heavyweight" and "incur > an entire GC cycle", but I've never noticed any performance > problem with them - on Emacs 20 through 26. Probably because you don't use a battery or maybe you just don't care. martin